Skip to content

Commit

Permalink
make build_sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
ocobleseqx committed Apr 2, 2024
1 parent 9812285 commit 931156f
Show file tree
Hide file tree
Showing 78 changed files with 1,049 additions and 498 deletions.
10 changes: 2 additions & 8 deletions sdk/dotnet/Fabric/Inputs/ConnectionASideAccessPointPortArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,11 @@ public sealed class ConnectionASideAccessPointPortArgs : global::Pulumi.Resource
[Input("name")]
public Input<string>? Name { get; set; }

[Input("redundancies")]
private InputList<Inputs.ConnectionASideAccessPointPortRedundancyArgs>? _redundancies;

/// <summary>
/// Redundancy Information
/// </summary>
public InputList<Inputs.ConnectionASideAccessPointPortRedundancyArgs> Redundancies
{
get => _redundancies ?? (_redundancies = new InputList<Inputs.ConnectionASideAccessPointPortRedundancyArgs>());
set => _redundancies = value;
}
[Input("redundancy")]
public Input<Inputs.ConnectionASideAccessPointPortRedundancyArgs>? Redundancy { get; set; }

/// <summary>
/// Equinix-assigned virtual gateway identifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,11 @@ public sealed class ConnectionASideAccessPointPortGetArgs : global::Pulumi.Resou
[Input("name")]
public Input<string>? Name { get; set; }

[Input("redundancies")]
private InputList<Inputs.ConnectionASideAccessPointPortRedundancyGetArgs>? _redundancies;

/// <summary>
/// Redundancy Information
/// </summary>
public InputList<Inputs.ConnectionASideAccessPointPortRedundancyGetArgs> Redundancies
{
get => _redundancies ?? (_redundancies = new InputList<Inputs.ConnectionASideAccessPointPortRedundancyGetArgs>());
set => _redundancies = value;
}
[Input("redundancy")]
public Input<Inputs.ConnectionASideAccessPointPortRedundancyGetArgs>? Redundancy { get; set; }

/// <summary>
/// Equinix-assigned virtual gateway identifier
Expand Down
10 changes: 2 additions & 8 deletions sdk/dotnet/Fabric/Inputs/ConnectionZSideAccessPointPortArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,11 @@ public sealed class ConnectionZSideAccessPointPortArgs : global::Pulumi.Resource
[Input("name")]
public Input<string>? Name { get; set; }

[Input("redundancies")]
private InputList<Inputs.ConnectionZSideAccessPointPortRedundancyArgs>? _redundancies;

/// <summary>
/// Redundancy Information
/// </summary>
public InputList<Inputs.ConnectionZSideAccessPointPortRedundancyArgs> Redundancies
{
get => _redundancies ?? (_redundancies = new InputList<Inputs.ConnectionZSideAccessPointPortRedundancyArgs>());
set => _redundancies = value;
}
[Input("redundancy")]
public Input<Inputs.ConnectionZSideAccessPointPortRedundancyArgs>? Redundancy { get; set; }

/// <summary>
/// Equinix-assigned virtual gateway identifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,11 @@ public sealed class ConnectionZSideAccessPointPortGetArgs : global::Pulumi.Resou
[Input("name")]
public Input<string>? Name { get; set; }

[Input("redundancies")]
private InputList<Inputs.ConnectionZSideAccessPointPortRedundancyGetArgs>? _redundancies;

/// <summary>
/// Redundancy Information
/// </summary>
public InputList<Inputs.ConnectionZSideAccessPointPortRedundancyGetArgs> Redundancies
{
get => _redundancies ?? (_redundancies = new InputList<Inputs.ConnectionZSideAccessPointPortRedundancyGetArgs>());
set => _redundancies = value;
}
[Input("redundancy")]
public Input<Inputs.ConnectionZSideAccessPointPortRedundancyGetArgs>? Redundancy { get; set; }

/// <summary>
/// Equinix-assigned virtual gateway identifier
Expand Down
6 changes: 3 additions & 3 deletions sdk/dotnet/Fabric/Outputs/ConnectionASideAccessPointPort.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public sealed class ConnectionASideAccessPointPort
/// <summary>
/// Redundancy Information
/// </summary>
public readonly ImmutableArray<Outputs.ConnectionASideAccessPointPortRedundancy> Redundancies;
public readonly Outputs.ConnectionASideAccessPointPortRedundancy? Redundancy;
/// <summary>
/// Equinix-assigned virtual gateway identifier
/// </summary>
Expand All @@ -36,13 +36,13 @@ private ConnectionASideAccessPointPort(

string? name,

ImmutableArray<Outputs.ConnectionASideAccessPointPortRedundancy> redundancies,
Outputs.ConnectionASideAccessPointPortRedundancy? redundancy,

string? uuid)
{
Href = href;
Name = name;
Redundancies = redundancies;
Redundancy = redundancy;
Uuid = uuid;
}
}
Expand Down
6 changes: 3 additions & 3 deletions sdk/dotnet/Fabric/Outputs/ConnectionZSideAccessPointPort.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public sealed class ConnectionZSideAccessPointPort
/// <summary>
/// Redundancy Information
/// </summary>
public readonly ImmutableArray<Outputs.ConnectionZSideAccessPointPortRedundancy> Redundancies;
public readonly Outputs.ConnectionZSideAccessPointPortRedundancy? Redundancy;
/// <summary>
/// Equinix-assigned virtual gateway identifier
/// </summary>
Expand All @@ -36,13 +36,13 @@ private ConnectionZSideAccessPointPort(

string? name,

ImmutableArray<Outputs.ConnectionZSideAccessPointPortRedundancy> redundancies,
Outputs.ConnectionZSideAccessPointPortRedundancy? redundancy,

string? uuid)
{
Href = href;
Name = name;
Redundancies = redundancies;
Redundancy = redundancy;
Uuid = uuid;
}
}
Expand Down
10 changes: 9 additions & 1 deletion sdk/dotnet/Metal/GetInterconnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public GetInterconnectionInvokeArgs()
[OutputType]
public sealed class GetInterconnectionResult
{
public readonly string AuthorizationCode;
public readonly string ConnectionId;
/// <summary>
/// The preferred email used for communication and notifications about the Equinix Fabric interconnection.
Expand Down Expand Up @@ -178,9 +179,12 @@ public sealed class GetInterconnectionResult
/// Attached VLANs. Only available in shared connection. One vlan for Primary/Single connection and two vlans for Redundant connection.
/// </summary>
public readonly ImmutableArray<int> Vlans;
public readonly ImmutableArray<string> Vrfs;

[OutputConstructor]
private GetInterconnectionResult(
string authorizationCode,

string connectionId,

string contactEmail,
Expand Down Expand Up @@ -219,8 +223,11 @@ private GetInterconnectionResult(

string type,

ImmutableArray<int> vlans)
ImmutableArray<int> vlans,

ImmutableArray<string> vrfs)
{
AuthorizationCode = authorizationCode;
ConnectionId = connectionId;
ContactEmail = contactEmail;
Description = description;
Expand All @@ -241,6 +248,7 @@ private GetInterconnectionResult(
Token = token;
Type = type;
Vlans = vlans;
Vrfs = vrfs;
}
}
}
12 changes: 6 additions & 6 deletions sdk/dotnet/Metal/GetOperatingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ public static class GetOperatingSystem
/// var server = new Equinix.Metal.Device("server", new()
/// {
/// Hostname = "tf.ubuntu",
/// Plan = "c3.medium.x86",
/// Plan = Equinix.Metal.Plan.C3MediumX86,
/// Metro = "ny",
/// OperatingSystem = example.Apply(getOperatingSystemResult =&gt; getOperatingSystemResult.Id).Apply(System.Enum.Parse&lt;Equinix.Metal.OperatingSystem.OperatingSystem&gt;),
/// BillingCycle = "hourly",
/// OperatingSystem = example.Apply(getOperatingSystemResult =&gt; getOperatingSystemResult.Id).Apply(System.Enum.Parse&lt;Equinix.Metal.OperatingSystem&gt;),
/// BillingCycle = Equinix.Metal.BillingCycle.Hourly,
/// ProjectId = local.Project_id,
/// });
///
Expand Down Expand Up @@ -73,10 +73,10 @@ public static Task<GetOperatingSystemResult> InvokeAsync(GetOperatingSystemArgs?
/// var server = new Equinix.Metal.Device("server", new()
/// {
/// Hostname = "tf.ubuntu",
/// Plan = "c3.medium.x86",
/// Plan = Equinix.Metal.Plan.C3MediumX86,
/// Metro = "ny",
/// OperatingSystem = example.Apply(getOperatingSystemResult =&gt; getOperatingSystemResult.Id).Apply(System.Enum.Parse&lt;Equinix.Metal.OperatingSystem.OperatingSystem&gt;),
/// BillingCycle = "hourly",
/// OperatingSystem = example.Apply(getOperatingSystemResult =&gt; getOperatingSystemResult.Id).Apply(System.Enum.Parse&lt;Equinix.Metal.OperatingSystem&gt;),
/// BillingCycle = Equinix.Metal.BillingCycle.Hourly,
/// ProjectId = local.Project_id,
/// });
///
Expand Down
19 changes: 14 additions & 5 deletions sdk/dotnet/Metal/GetOrganization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ public static Output<GetOrganizationResult> Invoke(GetOrganizationInvokeArgs? ar

public sealed class GetOrganizationArgs : global::Pulumi.InvokeArgs
{
/// <summary>
/// Description string.
/// </summary>
[Input("description")]
public string? Description { get; set; }

/// <summary>
/// The organization name.
/// </summary>
Expand All @@ -97,6 +103,12 @@ public GetOrganizationArgs()

public sealed class GetOrganizationInvokeArgs : global::Pulumi.InvokeArgs
{
/// <summary>
/// Description string.
/// </summary>
[Input("description")]
public Input<string>? Description { get; set; }

/// <summary>
/// The organization name.
/// </summary>
Expand Down Expand Up @@ -128,10 +140,7 @@ public sealed class GetOrganizationResult
/// <summary>
/// Description string.
/// </summary>
public readonly string Description;
/// <summary>
/// The provider-assigned unique ID for this managed resource.
/// </summary>
public readonly string? Description;
public readonly string Id;
/// <summary>
/// Logo URL.
Expand All @@ -156,7 +165,7 @@ public sealed class GetOrganizationResult
private GetOrganizationResult(
Outputs.GetOrganizationAddressResult address,

string description,
string? description,

string id,

Expand Down
12 changes: 6 additions & 6 deletions sdk/dotnet/Metal/GetPlans.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ public static class GetPlans
/// var exampleDevice = new Equinix.Metal.Device("exampleDevice", new()
/// {
/// Hostname = "example",
/// Plan = examplePlans.Apply(getPlansResult =&gt; getPlansResult.Plans[0]?.Name).Apply(System.Enum.Parse&lt;Equinix.Metal.Plan.Plan&gt;),
/// Plan = examplePlans.Apply(getPlansResult =&gt; getPlansResult.Plans[0]?.Name).Apply(System.Enum.Parse&lt;Equinix.Metal.Plan&gt;),
/// Metro = examplePlans.Apply(getPlansResult =&gt; getPlansResult.Plans[0]?.AvailableInMetros[0]),
/// OperatingSystem = "ubuntu_20_04",
/// BillingCycle = "hourly",
/// OperatingSystem = Equinix.Metal.OperatingSystem.Ubuntu20_04,
/// BillingCycle = Equinix.Metal.BillingCycle.Hourly,
/// ProjectId = @var.Project_id,
/// });
///
Expand Down Expand Up @@ -365,10 +365,10 @@ public static Task<GetPlansResult> InvokeAsync(GetPlansArgs? args = null, Invoke
/// var exampleDevice = new Equinix.Metal.Device("exampleDevice", new()
/// {
/// Hostname = "example",
/// Plan = examplePlans.Apply(getPlansResult =&gt; getPlansResult.Plans[0]?.Name).Apply(System.Enum.Parse&lt;Equinix.Metal.Plan.Plan&gt;),
/// Plan = examplePlans.Apply(getPlansResult =&gt; getPlansResult.Plans[0]?.Name).Apply(System.Enum.Parse&lt;Equinix.Metal.Plan&gt;),
/// Metro = examplePlans.Apply(getPlansResult =&gt; getPlansResult.Plans[0]?.AvailableInMetros[0]),
/// OperatingSystem = "ubuntu_20_04",
/// BillingCycle = "hourly",
/// OperatingSystem = Equinix.Metal.OperatingSystem.Ubuntu20_04,
/// BillingCycle = Equinix.Metal.BillingCycle.Hourly,
/// ProjectId = @var.Project_id,
/// });
///
Expand Down
12 changes: 6 additions & 6 deletions sdk/dotnet/Metal/GetPort.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ public static class GetPort
/// var testDevice = new Equinix.Metal.Device("testDevice", new()
/// {
/// Hostname = "tfacc-test-device-port",
/// Plan = "c3.medium.x86",
/// Plan = Equinix.Metal.Plan.C3MediumX86,
/// Metro = "sv",
/// OperatingSystem = "ubuntu_20_04",
/// BillingCycle = "hourly",
/// OperatingSystem = Equinix.Metal.OperatingSystem.Ubuntu20_04,
/// BillingCycle = Equinix.Metal.BillingCycle.Hourly,
/// ProjectId = projectId,
/// });
///
Expand Down Expand Up @@ -75,10 +75,10 @@ public static Task<GetPortResult> InvokeAsync(GetPortArgs? args = null, InvokeOp
/// var testDevice = new Equinix.Metal.Device("testDevice", new()
/// {
/// Hostname = "tfacc-test-device-port",
/// Plan = "c3.medium.x86",
/// Plan = Equinix.Metal.Plan.C3MediumX86,
/// Metro = "sv",
/// OperatingSystem = "ubuntu_20_04",
/// BillingCycle = "hourly",
/// OperatingSystem = Equinix.Metal.OperatingSystem.Ubuntu20_04,
/// BillingCycle = Equinix.Metal.BillingCycle.Hourly,
/// ProjectId = projectId,
/// });
///
Expand Down
3 changes: 0 additions & 3 deletions sdk/dotnet/Metal/GetProject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ public sealed class GetProjectResult
/// The timestamp for when the project was created.
/// </summary>
public readonly string Created;
/// <summary>
/// The provider-assigned unique ID for this managed resource.
/// </summary>
public readonly string Id;
public readonly string Name;
/// <summary>
Expand Down
3 changes: 0 additions & 3 deletions sdk/dotnet/Metal/GetVlan.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,6 @@ public sealed class GetVlanResult
/// </summary>
public readonly string Description;
public readonly string Facility;
/// <summary>
/// The provider-assigned unique ID for this managed resource.
/// </summary>
public readonly string Id;
public readonly string Metro;
public readonly string ProjectId;
Expand Down
Loading

0 comments on commit 931156f

Please sign in to comment.