Skip to content

Commit

Permalink
make build_sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot committed Oct 9, 2023
1 parent dddd145 commit 4e276d0
Show file tree
Hide file tree
Showing 22 changed files with 388 additions and 158 deletions.
2 changes: 1 addition & 1 deletion sdk/dotnet/Inputs/VnicIpv4Args.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Pulumi.VSphere.Inputs
public sealed class VnicIpv4Args : global::Pulumi.ResourceArgs
{
/// <summary>
/// Use DHCP to configure the interface's IPv4 stack.
/// Use DHCP to configure the interface's IPv6 stack.
/// </summary>
[Input("dhcp")]
public Input<bool>? Dhcp { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Inputs/VnicIpv4GetArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Pulumi.VSphere.Inputs
public sealed class VnicIpv4GetArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// Use DHCP to configure the interface's IPv4 stack.
/// Use DHCP to configure the interface's IPv6 stack.
/// </summary>
[Input("dhcp")]
public Input<bool>? Dhcp { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Inputs/VnicIpv6Args.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public InputList<string> Addresses
public Input<bool>? Autoconfig { get; set; }

/// <summary>
/// Use DHCP to configure the interface's IPv4 stack.
/// Use DHCP to configure the interface's IPv6 stack.
/// </summary>
[Input("dhcp")]
public Input<bool>? Dhcp { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Inputs/VnicIpv6GetArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public InputList<string> Addresses
public Input<bool>? Autoconfig { get; set; }

/// <summary>
/// Use DHCP to configure the interface's IPv4 stack.
/// Use DHCP to configure the interface's IPv6 stack.
/// </summary>
[Input("dhcp")]
public Input<bool>? Dhcp { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Outputs/VnicIpv4.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Pulumi.VSphere.Outputs
public sealed class VnicIpv4
{
/// <summary>
/// Use DHCP to configure the interface's IPv4 stack.
/// Use DHCP to configure the interface's IPv6 stack.
/// </summary>
public readonly bool? Dhcp;
/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Outputs/VnicIpv6.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public sealed class VnicIpv6
/// </summary>
public readonly bool? Autoconfig;
/// <summary>
/// Use DHCP to configure the interface's IPv4 stack.
/// Use DHCP to configure the interface's IPv6 stack.
/// </summary>
public readonly bool? Dhcp;
/// <summary>
Expand Down
86 changes: 74 additions & 12 deletions sdk/dotnet/Vnic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,68 @@ namespace Pulumi.VSphere
///
/// });
/// ```
/// ### Create a vnic attached to a portgroup using the default TCP/IP stack
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using VSphere = Pulumi.VSphere;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var dc = VSphere.GetDatacenter.Invoke(new()
/// {
/// Name = "mydc",
/// });
///
/// var h1 = VSphere.GetHost.Invoke(new()
/// {
/// Name = "esxi1.host.test",
/// DatacenterId = dc.Apply(getDatacenterResult =&gt; getDatacenterResult.Id),
/// });
///
/// var hvs1 = new VSphere.HostVirtualSwitch("hvs1", new()
/// {
/// HostSystemId = h1.Apply(getHostResult =&gt; getHostResult.Id),
/// NetworkAdapters = new[]
/// {
/// "vmnic3",
/// "vmnic4",
/// },
/// ActiveNics = new[]
/// {
/// "vmnic3",
/// },
/// StandbyNics = new[]
/// {
/// "vmnic4",
/// },
/// });
///
/// var p1 = new VSphere.HostPortGroup("p1", new()
/// {
/// VirtualSwitchName = hvs1.Name,
/// HostSystemId = h1.Apply(getHostResult =&gt; getHostResult.Id),
/// });
///
/// var v1 = new VSphere.Vnic("v1", new()
/// {
/// Host = h1.Apply(getHostResult =&gt; getHostResult.Id),
/// Portgroup = p1.Name,
/// Ipv4 = new VSphere.Inputs.VnicIpv4Args
/// {
/// Dhcp = true,
/// },
/// Services = new[]
/// {
/// "vsan",
/// "management",
/// },
/// });
///
/// });
/// ```
/// ## Importing
///
/// An existing vNic can be [imported][docs-import] into this resource
Expand Down Expand Up @@ -113,13 +175,13 @@ public partial class Vnic : global::Pulumi.CustomResource
public Output<string> Host { get; private set; } = null!;

/// <summary>
/// IPv4 settings. Either this or `ipv6` needs to be set. See ipv4 options below.
/// IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
/// </summary>
[Output("ipv4")]
public Output<Outputs.VnicIpv4?> Ipv4 { get; private set; } = null!;

/// <summary>
/// IPv6 settings. Either this or `ipv6` needs to be set. See ipv6 options below.
/// IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
/// </summary>
[Output("ipv6")]
public Output<Outputs.VnicIpv6?> Ipv6 { get; private set; } = null!;
Expand All @@ -137,7 +199,7 @@ public partial class Vnic : global::Pulumi.CustomResource
public Output<int> Mtu { get; private set; } = null!;

/// <summary>
/// TCP/IP stack setting for this interface. Possible values are 'defaultTcpipStack', 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default: `defaultTcpipStack`)
/// TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
/// </summary>
[Output("netstack")]
public Output<string?> Netstack { get; private set; } = null!;
Expand All @@ -149,7 +211,7 @@ public partial class Vnic : global::Pulumi.CustomResource
public Output<string?> Portgroup { get; private set; } = null!;

/// <summary>
/// Enabled services setting for this interface. Current possible values are 'vmotion', 'management', and 'vsan'.
/// Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
/// </summary>
[Output("services")]
public Output<ImmutableArray<string>> Services { get; private set; } = null!;
Expand Down Expand Up @@ -219,13 +281,13 @@ public sealed class VnicArgs : global::Pulumi.ResourceArgs
public Input<string> Host { get; set; } = null!;

/// <summary>
/// IPv4 settings. Either this or `ipv6` needs to be set. See ipv4 options below.
/// IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
/// </summary>
[Input("ipv4")]
public Input<Inputs.VnicIpv4Args>? Ipv4 { get; set; }

/// <summary>
/// IPv6 settings. Either this or `ipv6` needs to be set. See ipv6 options below.
/// IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
/// </summary>
[Input("ipv6")]
public Input<Inputs.VnicIpv6Args>? Ipv6 { get; set; }
Expand All @@ -243,7 +305,7 @@ public sealed class VnicArgs : global::Pulumi.ResourceArgs
public Input<int>? Mtu { get; set; }

/// <summary>
/// TCP/IP stack setting for this interface. Possible values are 'defaultTcpipStack', 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default: `defaultTcpipStack`)
/// TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
/// </summary>
[Input("netstack")]
public Input<string>? Netstack { get; set; }
Expand All @@ -258,7 +320,7 @@ public sealed class VnicArgs : global::Pulumi.ResourceArgs
private InputList<string>? _services;

/// <summary>
/// Enabled services setting for this interface. Current possible values are 'vmotion', 'management', and 'vsan'.
/// Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
/// </summary>
public InputList<string> Services
{
Expand Down Expand Up @@ -293,13 +355,13 @@ public sealed class VnicState : global::Pulumi.ResourceArgs
public Input<string>? Host { get; set; }

/// <summary>
/// IPv4 settings. Either this or `ipv6` needs to be set. See ipv4 options below.
/// IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
/// </summary>
[Input("ipv4")]
public Input<Inputs.VnicIpv4GetArgs>? Ipv4 { get; set; }

/// <summary>
/// IPv6 settings. Either this or `ipv6` needs to be set. See ipv6 options below.
/// IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
/// </summary>
[Input("ipv6")]
public Input<Inputs.VnicIpv6GetArgs>? Ipv6 { get; set; }
Expand All @@ -317,7 +379,7 @@ public sealed class VnicState : global::Pulumi.ResourceArgs
public Input<int>? Mtu { get; set; }

/// <summary>
/// TCP/IP stack setting for this interface. Possible values are 'defaultTcpipStack', 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default: `defaultTcpipStack`)
/// TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
/// </summary>
[Input("netstack")]
public Input<string>? Netstack { get; set; }
Expand All @@ -332,7 +394,7 @@ public sealed class VnicState : global::Pulumi.ResourceArgs
private InputList<string>? _services;

/// <summary>
/// Enabled services setting for this interface. Current possible values are 'vmotion', 'management', and 'vsan'.
/// Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
/// </summary>
public InputList<string> Services
{
Expand Down
16 changes: 8 additions & 8 deletions sdk/go/vsphere/pulumiTypes.go

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

Loading

0 comments on commit 4e276d0

Please sign in to comment.