Skip to content

Commit

Permalink
Upgrade terraform-provider-libvirt to v0.7.6 (#192)
Browse files Browse the repository at this point in the history
This PR was generated via `$ upgrade-provider pulumi/pulumi-libvirt
--kind=all --target-bridge-version=latest`.

---

- Upgrading terraform-provider-libvirt from 0.7.2  to 0.7.6.
	Fixes #191
	Fixes #189
  • Loading branch information
pulumi-bot authored Nov 20, 2023
1 parent 44a5f70 commit aefafba
Show file tree
Hide file tree
Showing 30 changed files with 258 additions and 62 deletions.
20 changes: 17 additions & 3 deletions provider/cmd/pulumi-resource-libvirt/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
},
"type": {
"type": "string",
"description": "Console device type. Valid values are \"pty\" and \"tcp\".\n",
"description": "The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)\n",
"willReplaceOnChanges": true
}
},
Expand Down Expand Up @@ -204,7 +204,7 @@
},
"type": {
"type": "string",
"description": "Console device type. Valid values are \"pty\" and \"tcp\".\n",
"description": "The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)\n",
"willReplaceOnChanges": true
},
"websocket": {
Expand Down Expand Up @@ -328,7 +328,7 @@
"properties": {
"type": {
"type": "string",
"description": "Console device type. Valid values are \"pty\" and \"tcp\".\n"
"description": "The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)\n"
}
},
"type": "object"
Expand Down Expand Up @@ -750,6 +750,10 @@
"$ref": "#/types/libvirt:index/DomainTpm:DomainTpm",
"description": "TPM device to attach to the domain. The `tpm` object structure is documented below.\n"
},
"type": {
"type": "string",
"description": "The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)\n"
},
"vcpu": {
"type": "integer",
"description": "The amount of virtual CPUs. If not specified, a single CPU\nwill be created.\n"
Expand Down Expand Up @@ -904,6 +908,11 @@
"$ref": "#/types/libvirt:index/DomainTpm:DomainTpm",
"description": "TPM device to attach to the domain. The `tpm` object structure is documented below.\n"
},
"type": {
"type": "string",
"description": "The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)\n",
"willReplaceOnChanges": true
},
"vcpu": {
"type": "integer",
"description": "The amount of virtual CPUs. If not specified, a single CPU\nwill be created.\n",
Expand Down Expand Up @@ -1053,6 +1062,11 @@
"$ref": "#/types/libvirt:index/DomainTpm:DomainTpm",
"description": "TPM device to attach to the domain. The `tpm` object structure is documented below.\n"
},
"type": {
"type": "string",
"description": "The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)\n",
"willReplaceOnChanges": true
},
"vcpu": {
"type": "integer",
"description": "The amount of virtual CPUs. If not specified, a single CPU\nwill be created.\n",
Expand Down
2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ replace (
)

require (
github.com/dmacvicar/terraform-provider-libvirt v0.7.2
github.com/dmacvicar/terraform-provider-libvirt v0.7.6
github.com/pulumi/pulumi-terraform-bridge/v3 v3.65.0
github.com/pulumi/pulumi/sdk/v3 v3.93.0
)
Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1122,8 +1122,8 @@ github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi
github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE=
github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU=
github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0=
github.com/dmacvicar/terraform-provider-libvirt v0.7.2 h1:shvBVg/BAwhhmP4NJg7IWqJKw7XJJPJjnGtQ26Le+J0=
github.com/dmacvicar/terraform-provider-libvirt v0.7.2/go.mod h1:rFyeu5a164ktI2RdTjAa0xxLawpKudFfgvOqlYTV3b0=
github.com/dmacvicar/terraform-provider-libvirt v0.7.6 h1:qfLdPoVuozbBMZzcziqLRFOg3I8g5s1f3pdmBpaqxAY=
github.com/dmacvicar/terraform-provider-libvirt v0.7.6/go.mod h1:MsWWyBhenRZKJpHoO4LciZEDToaHmuJH2NCKNMBCBiI=
github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E=
github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko=
github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ=
Expand Down
18 changes: 18 additions & 0 deletions sdk/dotnet/Domain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,12 @@ public partial class Domain : global::Pulumi.CustomResource
[Output("tpm")]
public Output<Outputs.DomainTpm?> Tpm { get; private set; } = null!;

/// <summary>
/// The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
/// </summary>
[Output("type")]
public Output<string?> Type { get; private set; } = null!;

/// <summary>
/// The amount of virtual CPUs. If not specified, a single CPU
/// will be created.
Expand Down Expand Up @@ -603,6 +609,12 @@ public InputList<Inputs.DomainNetworkInterfaceArgs> NetworkInterfaces
[Input("tpm")]
public Input<Inputs.DomainTpmArgs>? Tpm { get; set; }

/// <summary>
/// The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
/// </summary>
[Input("type")]
public Input<string>? Type { get; set; }

/// <summary>
/// The amount of virtual CPUs. If not specified, a single CPU
/// will be created.
Expand Down Expand Up @@ -898,6 +910,12 @@ public InputList<Inputs.DomainNetworkInterfaceGetArgs> NetworkInterfaces
[Input("tpm")]
public Input<Inputs.DomainTpmGetArgs>? Tpm { get; set; }

/// <summary>
/// The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
/// </summary>
[Input("type")]
public Input<string>? Type { get; set; }

/// <summary>
/// The amount of virtual CPUs. If not specified, a single CPU
/// will be created.
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Inputs/DomainConsoleArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public sealed class DomainConsoleArgs : global::Pulumi.ResourceArgs
public Input<string>? TargetType { get; set; }

/// <summary>
/// Console device type. Valid values are "pty" and "tcp".
/// The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
/// </summary>
[Input("type", required: true)]
public Input<string> Type { get; set; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Inputs/DomainConsoleGetArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public sealed class DomainConsoleGetArgs : global::Pulumi.ResourceArgs
public Input<string>? TargetType { get; set; }

/// <summary>
/// Console device type. Valid values are "pty" and "tcp".
/// The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
/// </summary>
[Input("type", required: true)]
public Input<string> Type { get; set; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Inputs/DomainGraphicsArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public sealed class DomainGraphicsArgs : global::Pulumi.ResourceArgs
public Input<string>? ListenType { get; set; }

/// <summary>
/// Console device type. Valid values are "pty" and "tcp".
/// The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
/// </summary>
[Input("type")]
public Input<string>? Type { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Inputs/DomainGraphicsGetArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public sealed class DomainGraphicsGetArgs : global::Pulumi.ResourceArgs
public Input<string>? ListenType { get; set; }

/// <summary>
/// Console device type. Valid values are "pty" and "tcp".
/// The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
/// </summary>
[Input("type")]
public Input<string>? Type { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Inputs/DomainVideoArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Pulumi.Libvirt.Inputs
public sealed class DomainVideoArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// Console device type. Valid values are "pty" and "tcp".
/// The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
/// </summary>
[Input("type")]
public Input<string>? Type { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Inputs/DomainVideoGetArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Pulumi.Libvirt.Inputs
public sealed class DomainVideoGetArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// Console device type. Valid values are "pty" and "tcp".
/// The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
/// </summary>
[Input("type")]
public Input<string>? Type { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Outputs/DomainConsole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public sealed class DomainConsole
/// </summary>
public readonly string? TargetType;
/// <summary>
/// Console device type. Valid values are "pty" and "tcp".
/// The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
/// </summary>
public readonly string Type;

Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Outputs/DomainGraphics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public sealed class DomainGraphics
/// </summary>
public readonly string? ListenType;
/// <summary>
/// Console device type. Valid values are "pty" and "tcp".
/// The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
/// </summary>
public readonly string? Type;
/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Outputs/DomainVideo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Pulumi.Libvirt.Outputs
public sealed class DomainVideo
{
/// <summary>
/// Console device type. Valid values are "pty" and "tcp".
/// The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
/// </summary>
public readonly string? Type;

Expand Down
15 changes: 15 additions & 0 deletions sdk/go/libvirt/domain.go

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

22 changes: 11 additions & 11 deletions sdk/go/libvirt/pulumiTypes.go

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

14 changes: 14 additions & 0 deletions sdk/java/src/main/java/com/pulumi/libvirt/Domain.java
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,20 @@ public Output<Optional<Boolean>> running() {
public Output<Optional<DomainTpm>> tpm() {
return Codegen.optional(this.tpm);
}
/**
* The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
*
*/
@Export(name="type", type=String.class, parameters={})
private Output</* @Nullable */ String> type;

/**
* @return The type of hypervisor to use for the domain. Defaults to `kvm`, other values can be found [here](https://libvirt.org/formatdomain.html#id1)
*
*/
public Output<Optional<String>> type() {
return Codegen.optional(this.type);
}
/**
* The amount of virtual CPUs. If not specified, a single CPU
* will be created.
Expand Down
Loading

0 comments on commit aefafba

Please sign in to comment.