Skip to content

Commit

Permalink
fix: update upstream to v0.37.1
Browse files Browse the repository at this point in the history
  • Loading branch information
muhlba91 committed Nov 12, 2023
1 parent e566bf3 commit d533d88
Show file tree
Hide file tree
Showing 103 changed files with 1,090 additions and 616 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PROVIDER := pulumi-resource-${PACK}
VERSION := $(shell pulumictl get version)

JAVA_GEN := pulumi-java-gen
JAVA_GEN_VERSION := v0.9.7
JAVA_GEN_VERSION := v0.9.8

TESTPARALLELISM := 4

Expand Down
2 changes: 1 addition & 1 deletion provider/cmd/pulumi-resource-proxmoxve/schema-embed.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions provider/cmd/pulumi-resource-proxmoxve/schema.json

Large diffs are not rendered by default.

76 changes: 72 additions & 4 deletions sdk/dotnet/Storage/File.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,78 @@ namespace Pulumi.ProxmoxVE.Storage
/// <summary>
/// Manages a file.
///
/// ## Example Usage
/// ### Backups
///
/// &gt; **Note:** The resource with this content type uses SSH access to the node. You might need to configure the `ssh` option in the `provider` section.
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using ProxmoxVE = Pulumi.ProxmoxVE;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var backup = new ProxmoxVE.Storage.File("backup", new()
/// {
/// ContentType = "backup",
/// DatastoreId = "local",
/// NodeName = "pve",
/// SourceFile = new ProxmoxVE.Storage.Inputs.FileSourceFileArgs
/// {
/// Path = "vzdump-lxc-100-2023_11_08-23_10_05.tar",
/// },
/// });
///
/// });
/// ```
/// ### Images
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using ProxmoxVE = Pulumi.ProxmoxVE;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var ubuntuContainerTemplate = new ProxmoxVE.Storage.File("ubuntuContainerTemplate", new()
/// {
/// ContentType = "iso",
/// DatastoreId = "local",
/// NodeName = "pve",
/// SourceFile = new ProxmoxVE.Storage.Inputs.FileSourceFileArgs
/// {
/// Path = "https://cloud-images.ubuntu.com/jammy/20230929/jammy-server-cloudimg-amd64-disk-kvm.img",
/// },
/// });
///
/// });
/// ```
/// ### Container Template (`vztmpl`)
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using ProxmoxVE = Pulumi.ProxmoxVE;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var ubuntuContainerTemplate = new ProxmoxVE.Storage.File("ubuntuContainerTemplate", new()
/// {
/// ContentType = "vztmpl",
/// DatastoreId = "local",
/// NodeName = "first-node",
/// SourceFile = new ProxmoxVE.Storage.Inputs.FileSourceFileArgs
/// {
/// Path = "https://download.proxmox.com/images/system/ubuntu-20.04-standard_20.04-1_amd64.tar.gz",
/// },
/// });
///
/// });
/// ```
/// ## Important Notes
///
/// The Proxmox VE API endpoint for file uploads does not support chunked transfer
Expand All @@ -27,10 +99,6 @@ namespace Pulumi.ProxmoxVE.Storage
/// the file will be deleted as if it did not exist before. If you want to prevent
/// the resource from replacing the file, set `overwrite` to `false`.
///
/// Make sure the target datastore supports the content type you are uploading. For
/// example, the `snippets` content type can be disabled by default on the `local`
/// datastore.
///
/// ## Import
///
/// Instances can be imported using the `node_name`, `datastore_id`, `content_type` and the `file_name` in the following formattext node_name:datastore_id/content_type/file_name Examplebash
Expand Down
4 changes: 3 additions & 1 deletion sdk/dotnet/VM/Inputs/VirtualMachineHostpciArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ public sealed class VirtualMachineHostpciArgs : global::Pulumi.ResourceArgs
public Input<string> Device { get; set; } = null!;

/// <summary>
/// The PCI device ID. Use either this or `mapping`.
/// The PCI device ID. This parameter is not compatible
/// with `api_token` and requires the root `username` and `password`
/// configured in the proxmox provider. Use either this or `mapping`.
/// </summary>
[Input("id")]
public Input<string>? Id { get; set; }
Expand Down
4 changes: 3 additions & 1 deletion sdk/dotnet/VM/Inputs/VirtualMachineHostpciGetArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ public sealed class VirtualMachineHostpciGetArgs : global::Pulumi.ResourceArgs
public Input<string> Device { get; set; } = null!;

/// <summary>
/// The PCI device ID. Use either this or `mapping`.
/// The PCI device ID. This parameter is not compatible
/// with `api_token` and requires the root `username` and `password`
/// configured in the proxmox provider. Use either this or `mapping`.
/// </summary>
[Input("id")]
public Input<string>? Id { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ namespace Pulumi.ProxmoxVE.VM.Inputs
public sealed class VirtualMachineInitializationIpConfigIpv4Args : global::Pulumi.ResourceArgs
{
/// <summary>
/// The IPv6 address (use `dhcp` for
/// autodiscovery).
/// The IPv6 address in CIDR notation
/// (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this
/// to `dhcp` for autodiscovery.
/// </summary>
[Input("address")]
public Input<string>? Address { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ namespace Pulumi.ProxmoxVE.VM.Inputs
public sealed class VirtualMachineInitializationIpConfigIpv4GetArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// The IPv6 address (use `dhcp` for
/// autodiscovery).
/// The IPv6 address in CIDR notation
/// (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this
/// to `dhcp` for autodiscovery.
/// </summary>
[Input("address")]
public Input<string>? Address { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ namespace Pulumi.ProxmoxVE.VM.Inputs
public sealed class VirtualMachineInitializationIpConfigIpv6Args : global::Pulumi.ResourceArgs
{
/// <summary>
/// The IPv6 address (use `dhcp` for
/// autodiscovery).
/// The IPv6 address in CIDR notation
/// (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this
/// to `dhcp` for autodiscovery.
/// </summary>
[Input("address")]
public Input<string>? Address { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ namespace Pulumi.ProxmoxVE.VM.Inputs
public sealed class VirtualMachineInitializationIpConfigIpv6GetArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// The IPv6 address (use `dhcp` for
/// autodiscovery).
/// The IPv6 address in CIDR notation
/// (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this
/// to `dhcp` for autodiscovery.
/// </summary>
[Input("address")]
public Input<string>? Address { get; set; }
Expand Down
4 changes: 3 additions & 1 deletion sdk/dotnet/VM/Outputs/VirtualMachineHostpci.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ public sealed class VirtualMachineHostpci
/// </summary>
public readonly string Device;
/// <summary>
/// The PCI device ID. Use either this or `mapping`.
/// The PCI device ID. This parameter is not compatible
/// with `api_token` and requires the root `username` and `password`
/// configured in the proxmox provider. Use either this or `mapping`.
/// </summary>
public readonly string? Id;
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ namespace Pulumi.ProxmoxVE.VM.Outputs
public sealed class VirtualMachineInitializationIpConfigIpv4
{
/// <summary>
/// The IPv6 address (use `dhcp` for
/// autodiscovery).
/// The IPv6 address in CIDR notation
/// (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this
/// to `dhcp` for autodiscovery.
/// </summary>
public readonly string? Address;
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ namespace Pulumi.ProxmoxVE.VM.Outputs
public sealed class VirtualMachineInitializationIpConfigIpv6
{
/// <summary>
/// The IPv6 address (use `dhcp` for
/// autodiscovery).
/// The IPv6 address in CIDR notation
/// (e.g. fd1c:000:0000::0000:000:7334/64). Alternatively, set this
/// to `dhcp` for autodiscovery.
/// </summary>
public readonly string? Address;
/// <summary>
Expand Down
8 changes: 5 additions & 3 deletions sdk/dotnet/VM/VirtualMachine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ namespace Pulumi.ProxmoxVE.VM
/// <summary>
/// Manages a virtual machine.
///
/// &gt; This resource uses SSH access to the node. You might need to configure the `ssh` option in the `provider` section.
///
/// ## Qemu guest agent
///
/// Qemu-guest-agent is an application which can be installed inside guest VM, see
Expand Down Expand Up @@ -197,7 +199,7 @@ public partial class VirtualMachine : global::Pulumi.CustomResource
public Output<ImmutableArray<string>> MacAddresses { get; private set; } = null!;

/// <summary>
/// The VM machine type (defaults to `i440fx`).
/// The VM machine type (defaults to `pc`).
/// </summary>
[Output("machine")]
public Output<string?> Machine { get; private set; } = null!;
Expand Down Expand Up @@ -555,7 +557,7 @@ public InputList<Inputs.VirtualMachineHostpciArgs> Hostpcis
public Input<string>? KvmArguments { get; set; }

/// <summary>
/// The VM machine type (defaults to `i440fx`).
/// The VM machine type (defaults to `pc`).
/// </summary>
[Input("machine")]
public Input<string>? Machine { get; set; }
Expand Down Expand Up @@ -930,7 +932,7 @@ public InputList<string> MacAddresses
}

/// <summary>
/// The VM machine type (defaults to `i440fx`).
/// The VM machine type (defaults to `pc`).
/// </summary>
[Input("machine")]
public Input<string>? Machine { get; set; }
Expand Down
97 changes: 93 additions & 4 deletions sdk/go/proxmoxve/storage/file.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d533d88

Please sign in to comment.