Skip to content

Commit

Permalink
make build_sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Cobles committed Sep 20, 2024
1 parent fb2601c commit 992518f
Show file tree
Hide file tree
Showing 84 changed files with 4,283 additions and 245 deletions.
73 changes: 71 additions & 2 deletions sdk/dotnet/Fabric/CloudRouter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace Pulumi.Equinix.Fabric
/// * API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#fabric-cloud-routers
///
/// ## Example Usage
/// ### example 1
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
Expand Down Expand Up @@ -65,6 +66,56 @@ namespace Pulumi.Equinix.Fabric
///
/// });
/// ```
/// ### example 2
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Equinix = Pulumi.Equinix;
///
/// return await Deployment.RunAsync(() =>
/// {
/// var newCloudRouter = new Equinix.Fabric.CloudRouter("newCloudRouter", new()
/// {
/// Name = "Router-SV",
/// Type = "XF_ROUTER",
/// Notifications = new[]
/// {
/// new Equinix.Fabric.Inputs.CloudRouterNotificationArgs
/// {
/// Type = "ALL",
/// Emails = new[]
/// {
/// "[email protected]",
/// "[email protected]",
/// },
/// },
/// },
/// Order = new Equinix.Fabric.Inputs.CloudRouterOrderArgs
/// {
/// PurchaseOrderNumber = "1-323292",
/// },
/// Location = new Equinix.Fabric.Inputs.CloudRouterLocationArgs
/// {
/// MetroCode = "SV",
/// },
/// Package = new Equinix.Fabric.Inputs.CloudRouterPackageArgs
/// {
/// Code = "STANDARD",
/// },
/// Project = new Equinix.Fabric.Inputs.CloudRouterProjectArgs
/// {
/// ProjectId = "776847000642406",
/// },
/// MarketplaceSubscription = new Equinix.Fabric.Inputs.CloudRouterMarketplaceSubscriptionArgs
/// {
/// Type = "AWS_MARKETPLACE_SUBSCRIPTION",
/// Uuid = "2823b8ae07-a2a2-45b4-a658-c3542bb24e9",
/// },
/// });
///
/// });
/// ```
/// </summary>
[EquinixResourceType("equinix:fabric/cloudRouter:CloudRouter")]
public partial class CloudRouter : global::Pulumi.CustomResource
Expand Down Expand Up @@ -135,6 +186,12 @@ public partial class CloudRouter : global::Pulumi.CustomResource
[Output("location")]
public Output<Outputs.CloudRouterLocation> Location { get; private set; } = null!;

/// <summary>
/// Equinix Fabric Entity for Marketplace Subscription
/// </summary>
[Output("marketplaceSubscription")]
public Output<Outputs.CloudRouterMarketplaceSubscription> MarketplaceSubscription { get; private set; } = null!;

/// <summary>
/// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores
/// </summary>
Expand Down Expand Up @@ -233,8 +290,8 @@ public sealed class CloudRouterArgs : global::Pulumi.ResourceArgs
/// <summary>
/// Customer account information that is associated with this Fabric Cloud Router
/// </summary>
[Input("account", required: true)]
public Input<Inputs.CloudRouterAccountArgs> Account { get; set; } = null!;
[Input("account")]
public Input<Inputs.CloudRouterAccountArgs>? Account { get; set; }

/// <summary>
/// Customer-provided Fabric Cloud Router description
Expand All @@ -254,6 +311,12 @@ public sealed class CloudRouterArgs : global::Pulumi.ResourceArgs
[Input("location", required: true)]
public Input<Inputs.CloudRouterLocationArgs> Location { get; set; } = null!;

/// <summary>
/// Equinix Fabric Entity for Marketplace Subscription
/// </summary>
[Input("marketplaceSubscription")]
public Input<Inputs.CloudRouterMarketplaceSubscriptionArgs>? MarketplaceSubscription { get; set; }

/// <summary>
/// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores
/// </summary>
Expand Down Expand Up @@ -382,6 +445,12 @@ public InputList<Inputs.CloudRouterChangeLogGetArgs> ChangeLogs
[Input("location")]
public Input<Inputs.CloudRouterLocationGetArgs>? Location { get; set; }

/// <summary>
/// Equinix Fabric Entity for Marketplace Subscription
/// </summary>
[Input("marketplaceSubscription")]
public Input<Inputs.CloudRouterMarketplaceSubscriptionGetArgs>? MarketplaceSubscription { get; set; }

/// <summary>
/// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores
/// </summary>
Expand Down
9 changes: 8 additions & 1 deletion sdk/dotnet/Fabric/GetCloudRouter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ public sealed class GetCloudRouterResult
/// </summary>
public readonly ImmutableArray<Outputs.GetCloudRouterLocationResult> Locations;
/// <summary>
/// Equinix Fabric Entity for Marketplace Subscription
/// </summary>
public readonly ImmutableArray<Outputs.GetCloudRouterMarketplaceSubscriptionResult> MarketplaceSubscriptions;
/// <summary>
/// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores
/// </summary>
public readonly string Name;
Expand All @@ -192,7 +196,7 @@ public sealed class GetCloudRouterResult
/// </summary>
public readonly ImmutableArray<Outputs.GetCloudRouterPackageResult> Packages;
/// <summary>
/// Customer resource hierarchy project information.Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects
/// Customer resource hierarchy project information. Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects
/// </summary>
public readonly ImmutableArray<Outputs.GetCloudRouterProjectResult> Projects;
/// <summary>
Expand Down Expand Up @@ -234,6 +238,8 @@ private GetCloudRouterResult(

ImmutableArray<Outputs.GetCloudRouterLocationResult> locations,

ImmutableArray<Outputs.GetCloudRouterMarketplaceSubscriptionResult> marketplaceSubscriptions,

string name,

ImmutableArray<Outputs.GetCloudRouterNotificationResult> notifications,
Expand Down Expand Up @@ -262,6 +268,7 @@ private GetCloudRouterResult(
Href = href;
Id = id;
Locations = locations;
MarketplaceSubscriptions = marketplaceSubscriptions;
Name = name;
Notifications = notifications;
Orders = orders;
Expand Down
6 changes: 3 additions & 3 deletions sdk/dotnet/Fabric/GetConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Pulumi.Equinix.Fabric
public static class GetConnection
{
/// <summary>
/// Fabric V4 API compatible data resource that allow user to fetch connection for a given UUID
/// Fabric V4 API compatible data resource that allow user to fetch connection for a given UUID
///
/// Additional documentation:
/// * Getting Started: https://docs.equinix.com/en-us/Content/Interconnection/Fabric/IMPLEMENTATION/fabric-connections-implement.htm
Expand Down Expand Up @@ -58,7 +58,7 @@ public static Task<GetConnectionResult> InvokeAsync(GetConnectionArgs args, Invo
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetConnectionResult>("equinix:fabric/getConnection:getConnection", args ?? new GetConnectionArgs(), options.WithDefaults());

/// <summary>
/// Fabric V4 API compatible data resource that allow user to fetch connection for a given UUID
/// Fabric V4 API compatible data resource that allow user to fetch connection for a given UUID
///
/// Additional documentation:
/// * Getting Started: https://docs.equinix.com/en-us/Content/Interconnection/Fabric/IMPLEMENTATION/fabric-connections-implement.htm
Expand Down Expand Up @@ -206,7 +206,7 @@ public sealed class GetConnectionResult
/// </summary>
public readonly string State;
/// <summary>
/// Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC
/// Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, IA*VC, EC_VC
/// </summary>
public readonly string Type;
/// <summary>
Expand Down
180 changes: 180 additions & 0 deletions sdk/dotnet/Fabric/GetMarketplaceSubscription.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.Equinix.Fabric
{
public static class GetMarketplaceSubscription
{
/// <summary>
/// Fabric V4 API compatible data resource that allow user to fetch Marketplace Subscription detail for a given UUID
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Equinix = Pulumi.Equinix;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var subscription_test = Equinix.Fabric.GetMarketplaceSubscription.Invoke(new()
/// {
/// Uuid = "&lt;uuid_of_marketplace_subscription&gt;",
/// });
///
/// return new Dictionary&lt;string, object?&gt;
/// {
/// ["id"] = subscription_test.Apply(subscription_test =&gt; subscription_test.Apply(getMarketplaceSubscriptionResult =&gt; getMarketplaceSubscriptionResult.Id)),
/// ["status"] = subscription_test.Apply(subscription_test =&gt; subscription_test.Apply(getMarketplaceSubscriptionResult =&gt; getMarketplaceSubscriptionResult.Status)),
/// ["marketplace"] = subscription_test.Apply(subscription_test =&gt; subscription_test.Apply(getMarketplaceSubscriptionResult =&gt; getMarketplaceSubscriptionResult.Marketplace)),
/// ["offerType"] = subscription_test.Apply(subscription_test =&gt; subscription_test.Apply(getMarketplaceSubscriptionResult =&gt; getMarketplaceSubscriptionResult.OfferType)),
/// ["isAutoRenew"] = subscription_test.Apply(subscription_test =&gt; subscription_test.Apply(getMarketplaceSubscriptionResult =&gt; getMarketplaceSubscriptionResult.IsAutoRenew)),
/// };
/// });
/// ```
/// </summary>
public static Task<GetMarketplaceSubscriptionResult> InvokeAsync(GetMarketplaceSubscriptionArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetMarketplaceSubscriptionResult>("equinix:fabric/getMarketplaceSubscription:getMarketplaceSubscription", args ?? new GetMarketplaceSubscriptionArgs(), options.WithDefaults());

/// <summary>
/// Fabric V4 API compatible data resource that allow user to fetch Marketplace Subscription detail for a given UUID
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Equinix = Pulumi.Equinix;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var subscription_test = Equinix.Fabric.GetMarketplaceSubscription.Invoke(new()
/// {
/// Uuid = "&lt;uuid_of_marketplace_subscription&gt;",
/// });
///
/// return new Dictionary&lt;string, object?&gt;
/// {
/// ["id"] = subscription_test.Apply(subscription_test =&gt; subscription_test.Apply(getMarketplaceSubscriptionResult =&gt; getMarketplaceSubscriptionResult.Id)),
/// ["status"] = subscription_test.Apply(subscription_test =&gt; subscription_test.Apply(getMarketplaceSubscriptionResult =&gt; getMarketplaceSubscriptionResult.Status)),
/// ["marketplace"] = subscription_test.Apply(subscription_test =&gt; subscription_test.Apply(getMarketplaceSubscriptionResult =&gt; getMarketplaceSubscriptionResult.Marketplace)),
/// ["offerType"] = subscription_test.Apply(subscription_test =&gt; subscription_test.Apply(getMarketplaceSubscriptionResult =&gt; getMarketplaceSubscriptionResult.OfferType)),
/// ["isAutoRenew"] = subscription_test.Apply(subscription_test =&gt; subscription_test.Apply(getMarketplaceSubscriptionResult =&gt; getMarketplaceSubscriptionResult.IsAutoRenew)),
/// };
/// });
/// ```
/// </summary>
public static Output<GetMarketplaceSubscriptionResult> Invoke(GetMarketplaceSubscriptionInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetMarketplaceSubscriptionResult>("equinix:fabric/getMarketplaceSubscription:getMarketplaceSubscription", args ?? new GetMarketplaceSubscriptionInvokeArgs(), options.WithDefaults());
}


public sealed class GetMarketplaceSubscriptionArgs : global::Pulumi.InvokeArgs
{
/// <summary>
/// Equinix-assigned marketplace identifier
/// </summary>
[Input("uuid", required: true)]
public string Uuid { get; set; } = null!;

public GetMarketplaceSubscriptionArgs()
{
}
public static new GetMarketplaceSubscriptionArgs Empty => new GetMarketplaceSubscriptionArgs();
}

public sealed class GetMarketplaceSubscriptionInvokeArgs : global::Pulumi.InvokeArgs
{
/// <summary>
/// Equinix-assigned marketplace identifier
/// </summary>
[Input("uuid", required: true)]
public Input<string> Uuid { get; set; } = null!;

public GetMarketplaceSubscriptionInvokeArgs()
{
}
public static new GetMarketplaceSubscriptionInvokeArgs Empty => new GetMarketplaceSubscriptionInvokeArgs();
}


[OutputType]
public sealed class GetMarketplaceSubscriptionResult
{
/// <summary>
/// Subscription entitlements
/// </summary>
public readonly ImmutableArray<Outputs.GetMarketplaceSubscriptionEntitlementResult> Entitlements;
/// <summary>
/// Subscription URI information
/// </summary>
public readonly string Href;
/// <summary>
/// The provider-assigned unique ID for this managed resource.
/// </summary>
public readonly string Id;
/// <summary>
/// Information about subscription auto renewal
/// </summary>
public readonly bool IsAutoRenew;
/// <summary>
/// Marketplace like; AWS, GCP, AZURE, REDHAT
/// </summary>
public readonly string Marketplace;
/// <summary>
/// Marketplace Offer Type like; PUBLIC, PRIVATE_OFFER
/// </summary>
public readonly string OfferType;
/// <summary>
/// Subscription Status like; ACTIVE, EXPIRED, CANCELLED, GRACE_PERIOD
/// </summary>
public readonly string Status;
/// <summary>
/// Subscription Trial
/// </summary>
public readonly Outputs.GetMarketplaceSubscriptionTrialResult Trial;
/// <summary>
/// Equinix-assigned marketplace identifier
/// </summary>
public readonly string Uuid;

[OutputConstructor]
private GetMarketplaceSubscriptionResult(
ImmutableArray<Outputs.GetMarketplaceSubscriptionEntitlementResult> entitlements,

string href,

string id,

bool isAutoRenew,

string marketplace,

string offerType,

string status,

Outputs.GetMarketplaceSubscriptionTrialResult trial,

string uuid)
{
Entitlements = entitlements;
Href = href;
Id = id;
IsAutoRenew = isAutoRenew;
Marketplace = marketplace;
OfferType = offerType;
Status = status;
Trial = trial;
Uuid = uuid;
}
}
}
7 changes: 5 additions & 2 deletions sdk/dotnet/Fabric/GetServiceProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public sealed class GetServiceProfileResult
/// </summary>
public readonly Outputs.GetServiceProfileProjectResult Project;
/// <summary>
/// Self Profile indicating if the profile is created for customer's self use
/// Self Profile indicating if the profile is created for customer's self use
/// </summary>
public readonly bool SelfProfile;
/// <summary>
Expand All @@ -198,13 +198,16 @@ public sealed class GetServiceProfileResult
/// </summary>
public readonly ImmutableArray<string> Tags;
/// <summary>
/// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE
/// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE
/// </summary>
public readonly string Type;
/// <summary>
/// Equinix assigned service profile identifier
/// </summary>
public readonly string Uuid;
/// <summary>
/// Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide
/// </summary>
public readonly string ViewPoint;
/// <summary>
/// Virtual Devices
Expand Down
4 changes: 2 additions & 2 deletions sdk/dotnet/Fabric/Inputs/CloudRouterAccountArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public sealed class CloudRouterAccountArgs : global::Pulumi.ResourceArgs
/// <summary>
/// Account Number
/// </summary>
[Input("accountNumber")]
public Input<int>? AccountNumber { get; set; }
[Input("accountNumber", required: true)]
public Input<int> AccountNumber { get; set; } = null!;

public CloudRouterAccountArgs()
{
Expand Down
Loading

0 comments on commit 992518f

Please sign in to comment.