From 021e6af0c7b9f78820e8286fc2289690bc5a8a7d Mon Sep 17 00:00:00 2001 From: Oscar Cobles Date: Fri, 20 Sep 2024 18:22:25 +0200 Subject: [PATCH 1/4] add datasource equinix_fabric_market_place_subscription Signed-off-by: Oscar Cobles --- provider/resources.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/provider/resources.go b/provider/resources.go index eecd799c..3294b009 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -1658,6 +1658,26 @@ func Provider() tfbridge.ProviderInfo { }, }, }, + "equinix_fabric_market_place_subscription": { + Tok: makeEquinixDataSource(fabricMod, "MarketplaceSubscription"), + Fields: map[string]*tfbridge.SchemaInfo{ + "trial": { + MaxItemsOne: tfbridge.True(), + }, + "entitlements": { + Fields: map[string]*tfbridge.SchemaInfo{ + "asset": { + MaxItemsOne: tfbridge.True(), + Fields: map[string]*tfbridge.SchemaInfo{ + "package": { + MaxItemsOne: tfbridge.True(), + }, + }, + }, + }, + }, + }, + }, // Equinix Metal v1 "equinix_metal_connection": {Tok: makeEquinixDataSource(metalMod, "Interconnection")}, "equinix_metal_device": {Tok: makeEquinixDataSource(metalMod, "Device")}, From dcc4346ca4e1f7ba99e88460a231c91128d4a6fb Mon Sep 17 00:00:00 2001 From: Oscar Cobles Date: Fri, 20 Sep 2024 18:23:25 +0200 Subject: [PATCH 2/4] fix generate examples Signed-off-by: Oscar Cobles --- scripts/generate_examples.sh | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/scripts/generate_examples.sh b/scripts/generate_examples.sh index e44c6e03..aaac32d1 100755 --- a/scripts/generate_examples.sh +++ b/scripts/generate_examples.sh @@ -224,8 +224,34 @@ delete_nonexistent_pulumi_examples() { echo "NOT FOUND $pulumi_example_dir" fi if [[ "$found" == false && -f "$pulumi_example_dir/.autogenerated" ]]; then - echo -e "\n\033[0;33m Warning:\033[0m deleting autogenerated example that no longer exist in Terraform: $pulumi_example_dir" >&2 - rm -rf "$pulumi_example_dir" + + # Check if there are subdirectories with examples that need to be preserved + subdirs_to_keep=() + for tf_example_dir in "${ALL_TF_EXAMPLES[@]}"; do + if [[ "$tf_example_dir" == "$pulumi_example_dir/"* ]]; then + subdirs_to_keep+=("$tf_example_dir") + fi + done + + if [ ${#subdirs_to_keep[@]} -eq 0 ]; then + echo -e "\n\033[0;33m Warning:\033[0m deleting autogenerated example that no longer exist in Terraform: $pulumi_example_dir" >&2 + rm -rf "$pulumi_example_dir" + else + echo -e "\n\033[0;33m Warning:\033[0m partially deleting autogenerated example that no longer exist in Terraform: $pulumi_example_dir" >&2 + # Remove only the files and subdirectories that are not in the list of subdirs_to_keep + for item in "$pulumi_example_dir"/*; do + keep=false + for keep_dir in "${subdirs_to_keep[@]}"; do + if [[ "$item" == "$keep_dir" ]]; then + keep=true + break + fi + done + if [[ "$keep" == false ]]; then + rm -rf "$item" + fi + done + fi else new_pulumi_examples+=("$pulumi_example") fi @@ -357,6 +383,7 @@ generate_examples_and_docs merge_example_files "equinix_network_device" merge_example_files "equinix_fabric_connection" +merge_example_files "equinix_fabric_cloud_router" merge_example_files "equinix_fabric_routing_protocol" merge_example_files "equinix_metal_device" merge_example_files "equinix_metal_project" From fb2601c5ac4daed43dcc9d9f7fa5019c90171ffa Mon Sep 17 00:00:00 2001 From: Oscar Cobles Date: Fri, 20 Sep 2024 18:27:46 +0200 Subject: [PATCH 3/4] make tfgen --- .pulumi-java-gen.version | 2 +- .../equinix_fabric_cloud_router.examples.md | 248 ++++++++++++ .../cloud_router/example_1/.autogenerated | 0 .../cloud_router/{ => example_1}/Pulumi.yaml | 2 +- .../{ => example_1}/csharp/.gitignore | 0 .../{ => example_1}/csharp/Program.cs | 0 .../{ => example_1}/csharp/Pulumi.yaml | 2 +- ...inix-fabric-cloud_router-example_1.csproj} | 0 .../cloud_router/example_1/go/Pulumi.yaml | 2 + .../cloud_router/{ => example_1}/go/go.mod | 4 +- .../cloud_router/{ => example_1}/go/main.go | 0 .../{ => example_1}/java/Pulumi.yaml | 2 +- .../cloud_router/{ => example_1}/java/pom.xml | 2 +- .../src/main/java/generated_program/App.java | 0 .../{ => example_1}/python/.gitignore | 0 .../cloud_router/example_1/python/Pulumi.yaml | 2 + .../{ => example_1}/python/__main__.py | 0 .../{ => example_1}/python/requirements.txt | 0 .../{ => example_1}/typescript/.gitignore | 0 .../example_1/typescript/Pulumi.yaml | 2 + .../{ => example_1}/typescript/index.ts | 0 .../{ => example_1}/typescript/package.json | 2 +- .../{ => example_1}/typescript/tsconfig.json | 0 .../cloud_router/example_2/.autogenerated | 0 .../fabric/cloud_router/example_2/Pulumi.yaml | 26 ++ .../cloud_router/example_2/csharp/.gitignore | 353 ++++++++++++++++++ .../cloud_router/example_2/csharp/Program.cs | 48 +++ .../cloud_router/example_2/csharp/Pulumi.yaml | 3 + ...uinix-fabric-cloud_router-example_2.csproj | 13 + .../cloud_router/example_2/go/Pulumi.yaml | 2 + .../fabric/cloud_router/example_2/go/go.mod | 94 +++++ .../fabric/cloud_router/example_2/go/main.go | 44 +++ .../cloud_router/example_2/java/Pulumi.yaml | 3 + .../cloud_router/example_2/java/pom.xml | 92 +++++ .../src/main/java/generated_program/App.java | 55 +++ .../cloud_router/example_2/python/.gitignore | 2 + .../cloud_router/example_2/python/Pulumi.yaml | 2 + .../cloud_router/example_2/python/__main__.py | 29 ++ .../example_2/python/requirements.txt | 2 + .../example_2/typescript/.gitignore | 2 + .../example_2/typescript/Pulumi.yaml | 2 + .../example_2/typescript/index.ts | 30 ++ .../example_2/typescript/package.json | 11 + .../example_2/typescript/tsconfig.json | 18 + examples/fabric/cloud_router/go/Pulumi.yaml | 2 - .../fabric/cloud_router/python/Pulumi.yaml | 2 - .../cloud_router/typescript/Pulumi.yaml | 2 - .../connection/example_fcr_to_azure/go/go.mod | 2 +- .../connection/example_fcr_to_metal/go/go.mod | 2 +- .../example_fcr_to_network/go/go.mod | 2 +- .../connection/example_fcr_to_port/go/go.mod | 2 +- .../connection/example_metal_to_aws/go/go.mod | 2 +- .../connection/example_port_to_aws/go/go.mod | 2 +- .../example_port_to_network_eplan/go/go.mod | 2 +- .../example_port_to_network_evplan/go/go.mod | 2 +- .../connection/example_port_to_port/go/go.mod | 2 +- .../example_port_to_port_access_epl/go/go.mod | 2 +- .../example_port_to_port_epl/go/go.mod | 2 +- .../connection/example_port_to_vd/go/go.mod | 2 +- .../connection/example_token_to_aws/go/go.mod | 2 +- .../connection/example_vd_to_azure/go/go.mod | 2 +- .../example_vd_to_azure_redundant/go/go.mod | 2 +- .../example_vd_to_network/go/go.mod | 2 +- .../connection/example_vd_to_token/go/go.mod | 2 +- examples/fabric/network/go/go.mod | 2 +- .../routing_protocol/example_1/go/go.mod | 2 +- .../routing_protocol/example_2/go/go.mod | 2 +- .../routing_protocol/example_3/go/go.mod | 2 +- examples/fabric/service_profile/go/go.mod | 2 +- examples/metal/bgp_session/go/go.mod | 2 +- .../go/go.mod | 2 +- .../go/go.mod | 2 +- examples/metal/device/example_1/go/go.mod | 2 +- examples/metal/device/example_2/go/go.mod | 2 +- examples/metal/device/example_3/go/go.mod | 2 +- examples/metal/device/example_4/go/go.mod | 2 +- examples/metal/device/example_5/go/go.mod | 2 +- examples/metal/device_network_type/go/go.mod | 2 +- examples/metal/gateway/example_1/go/go.mod | 2 +- examples/metal/gateway/example_2/go/go.mod | 2 +- examples/metal/ip_attachment/go/go.mod | 2 +- examples/metal/organization/go/go.mod | 2 +- .../organization_member/example_1/go/go.mod | 2 +- .../organization_member/example_2/go/go.mod | 2 +- .../port_vlan_attachment/example_1/go/go.mod | 2 +- .../port_vlan_attachment/example_2/go/go.mod | 2 +- examples/metal/project/example_1/go/go.mod | 2 +- examples/metal/project/example_2/go/go.mod | 2 +- examples/metal/project/example_3/go/go.mod | 2 +- examples/metal/project_api_key/go/go.mod | 2 +- examples/metal/project_ssh_key/go/go.mod | 2 +- .../reserved_ip_block/example_1/go/go.mod | 2 +- .../reserved_ip_block/example_2/go/go.mod | 2 +- examples/metal/spot_market_request/go/go.mod | 2 +- .../csharp/equinix-metal-ssh_key.csproj | 2 +- examples/metal/ssh_key/go/go.mod | 2 +- examples/metal/user_api_key/go/go.mod | 2 +- examples/metal/virtual_circuit/go/go.mod | 2 +- examples/metal/vlan/go/go.mod | 2 +- examples/metal/vrf/example_1/go/go.mod | 2 +- examples/metal/vrf/example_2/go/go.mod | 2 +- examples/metal/vrf/example_3/go/go.mod | 2 +- examples/network/acl_template/go/go.mod | 2 +- examples/network/bgp/go/go.mod | 2 +- examples/network/device/example_1/go/go.mod | 2 +- examples/network/device/example_2/go/go.mod | 2 +- .../equinix-network-device-example_3.csproj | 2 +- examples/network/device/example_3/go/go.mod | 2 +- examples/network/device/example_4/go/go.mod | 2 +- examples/network/device/example_5/go/go.mod | 2 +- examples/network/device/example_6/go/go.mod | 2 +- examples/network/device/example_7/go/go.mod | 2 +- examples/network/device/example_8/go/go.mod | 2 +- examples/network/device/example_9/go/go.mod | 2 +- examples/network/device_link/go/go.mod | 2 +- .../file/csharp/equinix-network-file.csproj | 2 +- examples/network/file/go/go.mod | 2 +- examples/network/ssh_key/go/go.mod | 2 +- examples/network/ssh_user/go/go.mod | 2 +- .../bridge-metadata.json | 1 + .../cmd/pulumi-resource-equinix/schema.json | 320 ++++++++++++++-- provider/go.mod | 2 +- provider/go.sum | 4 +- upstream | 2 +- 124 files changed, 1462 insertions(+), 118 deletions(-) create mode 100644 examples/fabric/cloud_router/example_1/.autogenerated rename examples/fabric/cloud_router/{ => example_1}/Pulumi.yaml (93%) rename examples/fabric/cloud_router/{ => example_1}/csharp/.gitignore (100%) rename examples/fabric/cloud_router/{ => example_1}/csharp/Program.cs (100%) rename examples/fabric/cloud_router/{ => example_1}/csharp/Pulumi.yaml (76%) rename examples/fabric/cloud_router/{csharp/equinix-fabric-cloud_router.csproj => example_1/csharp/equinix-fabric-cloud_router-example_1.csproj} (100%) create mode 100644 examples/fabric/cloud_router/example_1/go/Pulumi.yaml rename examples/fabric/cloud_router/{ => example_1}/go/go.mod (98%) rename examples/fabric/cloud_router/{ => example_1}/go/main.go (100%) rename examples/fabric/cloud_router/{ => example_1}/java/Pulumi.yaml (75%) rename examples/fabric/cloud_router/{ => example_1}/java/pom.xml (97%) rename examples/fabric/cloud_router/{ => example_1}/java/src/main/java/generated_program/App.java (100%) rename examples/fabric/cloud_router/{ => example_1}/python/.gitignore (100%) create mode 100644 examples/fabric/cloud_router/example_1/python/Pulumi.yaml rename examples/fabric/cloud_router/{ => example_1}/python/__main__.py (100%) rename examples/fabric/cloud_router/{ => example_1}/python/requirements.txt (100%) rename examples/fabric/cloud_router/{ => example_1}/typescript/.gitignore (100%) create mode 100644 examples/fabric/cloud_router/example_1/typescript/Pulumi.yaml rename examples/fabric/cloud_router/{ => example_1}/typescript/index.ts (100%) rename examples/fabric/cloud_router/{ => example_1}/typescript/package.json (77%) rename examples/fabric/cloud_router/{ => example_1}/typescript/tsconfig.json (100%) create mode 100644 examples/fabric/cloud_router/example_2/.autogenerated create mode 100644 examples/fabric/cloud_router/example_2/Pulumi.yaml create mode 100644 examples/fabric/cloud_router/example_2/csharp/.gitignore create mode 100644 examples/fabric/cloud_router/example_2/csharp/Program.cs create mode 100644 examples/fabric/cloud_router/example_2/csharp/Pulumi.yaml create mode 100644 examples/fabric/cloud_router/example_2/csharp/equinix-fabric-cloud_router-example_2.csproj create mode 100644 examples/fabric/cloud_router/example_2/go/Pulumi.yaml create mode 100644 examples/fabric/cloud_router/example_2/go/go.mod create mode 100644 examples/fabric/cloud_router/example_2/go/main.go create mode 100644 examples/fabric/cloud_router/example_2/java/Pulumi.yaml create mode 100644 examples/fabric/cloud_router/example_2/java/pom.xml create mode 100644 examples/fabric/cloud_router/example_2/java/src/main/java/generated_program/App.java create mode 100644 examples/fabric/cloud_router/example_2/python/.gitignore create mode 100644 examples/fabric/cloud_router/example_2/python/Pulumi.yaml create mode 100644 examples/fabric/cloud_router/example_2/python/__main__.py create mode 100644 examples/fabric/cloud_router/example_2/python/requirements.txt create mode 100644 examples/fabric/cloud_router/example_2/typescript/.gitignore create mode 100644 examples/fabric/cloud_router/example_2/typescript/Pulumi.yaml create mode 100644 examples/fabric/cloud_router/example_2/typescript/index.ts create mode 100644 examples/fabric/cloud_router/example_2/typescript/package.json create mode 100644 examples/fabric/cloud_router/example_2/typescript/tsconfig.json delete mode 100644 examples/fabric/cloud_router/go/Pulumi.yaml delete mode 100644 examples/fabric/cloud_router/python/Pulumi.yaml delete mode 100644 examples/fabric/cloud_router/typescript/Pulumi.yaml diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index 0548fb4e..92e0c743 100644 --- a/.pulumi-java-gen.version +++ b/.pulumi-java-gen.version @@ -1 +1 @@ -0.14.0 \ No newline at end of file +0.16.1 \ No newline at end of file diff --git a/docs/resource/equinix_fabric_cloud_router.examples.md b/docs/resource/equinix_fabric_cloud_router.examples.md index 18345fa3..0430e1c0 100644 --- a/docs/resource/equinix_fabric_cloud_router.examples.md +++ b/docs/resource/equinix_fabric_cloud_router.examples.md @@ -1,5 +1,7 @@ ## Example Usage + {{% example %}} +### example 1 ```typescript import * as pulumi from "@pulumi/pulumi"; import * as equinix from "@equinix-labs/pulumi-equinix"; @@ -235,3 +237,249 @@ resources: accountNumber: '203612' ``` {{% /example %}} + +{{% example %}} +### example 2 +```typescript +import * as pulumi from "@pulumi/pulumi"; +import * as equinix from "@equinix-labs/pulumi-equinix"; + +const newCloudRouter = new equinix.fabric.CloudRouter("newCloudRouter", { + name: "Router-SV", + type: "XF_ROUTER", + notifications: [{ + type: "ALL", + emails: [ + "example@equinix.com", + "test1@equinix.com", + ], + }], + order: { + purchaseOrderNumber: "1-323292", + }, + location: { + metroCode: "SV", + }, + "package": { + code: "STANDARD", + }, + project: { + projectId: "776847000642406", + }, + marketplaceSubscription: { + type: "AWS_MARKETPLACE_SUBSCRIPTION", + uuid: "2823b8ae07-a2a2-45b4-a658-c3542bb24e9", + }, +}); +``` +```python +import pulumi +import pulumi_equinix as equinix + +new_cloud_router = equinix.fabric.CloudRouter("newCloudRouter", + name="Router-SV", + type="XF_ROUTER", + notifications=[{ + "type": "ALL", + "emails": [ + "example@equinix.com", + "test1@equinix.com", + ], + }], + order={ + "purchase_order_number": "1-323292", + }, + location={ + "metro_code": "SV", + }, + package={ + "code": "STANDARD", + }, + project={ + "project_id": "776847000642406", + }, + marketplace_subscription={ + "type": "AWS_MARKETPLACE_SUBSCRIPTION", + "uuid": "2823b8ae07-a2a2-45b4-a658-c3542bb24e9", + }) +``` +```go +package main + +import ( + "github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func main() { + pulumi.Run(func(ctx *pulumi.Context) error { + _, err := fabric.NewCloudRouter(ctx, "newCloudRouter", &fabric.CloudRouterArgs{ + Name: pulumi.String("Router-SV"), + Type: pulumi.String("XF_ROUTER"), + Notifications: fabric.CloudRouterNotificationArray{ + &fabric.CloudRouterNotificationArgs{ + Type: pulumi.String("ALL"), + Emails: pulumi.StringArray{ + pulumi.String("example@equinix.com"), + pulumi.String("test1@equinix.com"), + }, + }, + }, + Order: &fabric.CloudRouterOrderArgs{ + PurchaseOrderNumber: pulumi.String("1-323292"), + }, + Location: &fabric.CloudRouterLocationArgs{ + MetroCode: pulumi.String("SV"), + }, + Package: &fabric.CloudRouterPackageArgs{ + Code: pulumi.String("STANDARD"), + }, + Project: &fabric.CloudRouterProjectArgs{ + ProjectId: pulumi.String("776847000642406"), + }, + MarketplaceSubscription: &fabric.CloudRouterMarketplaceSubscriptionArgs{ + Type: pulumi.String("AWS_MARKETPLACE_SUBSCRIPTION"), + Uuid: pulumi.String("2823b8ae07-a2a2-45b4-a658-c3542bb24e9"), + }, + }) + if err != nil { + return err + } + return nil + }) +} +``` +```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[] + { + "example@equinix.com", + "test1@equinix.com", + }, + }, + }, + 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", + }, + }); + +}); +``` +```java +package generated_program; + +import com.pulumi.Context; +import com.pulumi.Pulumi; +import com.pulumi.core.Output; +import com.pulumi.equinix.fabric.CloudRouter; +import com.pulumi.equinix.fabric.CloudRouterArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterNotificationArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterOrderArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterLocationArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterPackageArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterProjectArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterMarketplaceSubscriptionArgs; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.io.File; +import java.nio.file.Files; +import java.nio.file.Paths; + +public class App { + public static void main(String[] args) { + Pulumi.run(App::stack); + } + + public static void stack(Context ctx) { + var newCloudRouter = new CloudRouter("newCloudRouter", CloudRouterArgs.builder() + .name("Router-SV") + .type("XF_ROUTER") + .notifications(CloudRouterNotificationArgs.builder() + .type("ALL") + .emails( + "example@equinix.com", + "test1@equinix.com") + .build()) + .order(CloudRouterOrderArgs.builder() + .purchaseOrderNumber("1-323292") + .build()) + .location(CloudRouterLocationArgs.builder() + .metroCode("SV") + .build()) + .package_(CloudRouterPackageArgs.builder() + .code("STANDARD") + .build()) + .project(CloudRouterProjectArgs.builder() + .projectId("776847000642406") + .build()) + .marketplaceSubscription(CloudRouterMarketplaceSubscriptionArgs.builder() + .type("AWS_MARKETPLACE_SUBSCRIPTION") + .uuid("2823b8ae07-a2a2-45b4-a658-c3542bb24e9") + .build()) + .build()); + + } +} +``` +```yaml +resources: + newCloudRouter: + type: equinix:fabric:CloudRouter + name: new_cloud_router + properties: + name: Router-SV + type: XF_ROUTER + notifications: + - type: ALL + emails: + - example@equinix.com + - test1@equinix.com + order: + purchaseOrderNumber: 1-323292 + location: + metroCode: SV + package: + code: STANDARD + project: + projectId: '776847000642406' + marketplaceSubscription: + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 2823b8ae07-a2a2-45b4-a658-c3542bb24e9 +``` +{{% /example %}} + + diff --git a/examples/fabric/cloud_router/example_1/.autogenerated b/examples/fabric/cloud_router/example_1/.autogenerated new file mode 100644 index 00000000..e69de29b diff --git a/examples/fabric/cloud_router/Pulumi.yaml b/examples/fabric/cloud_router/example_1/Pulumi.yaml similarity index 93% rename from examples/fabric/cloud_router/Pulumi.yaml rename to examples/fabric/cloud_router/example_1/Pulumi.yaml index 6ace995d..16e565a9 100644 --- a/examples/fabric/cloud_router/Pulumi.yaml +++ b/examples/fabric/cloud_router/example_1/Pulumi.yaml @@ -1,5 +1,5 @@ # WARNING: This is an autogenerated file - manual changes will be overwritten if not made via ./scripts/generate_examples.sh -name: equinix-fabric-cloud_router +name: equinix-fabric-cloud_router-example_1 runtime: yaml resources: newCloudRouter: diff --git a/examples/fabric/cloud_router/csharp/.gitignore b/examples/fabric/cloud_router/example_1/csharp/.gitignore similarity index 100% rename from examples/fabric/cloud_router/csharp/.gitignore rename to examples/fabric/cloud_router/example_1/csharp/.gitignore diff --git a/examples/fabric/cloud_router/csharp/Program.cs b/examples/fabric/cloud_router/example_1/csharp/Program.cs similarity index 100% rename from examples/fabric/cloud_router/csharp/Program.cs rename to examples/fabric/cloud_router/example_1/csharp/Program.cs diff --git a/examples/fabric/cloud_router/csharp/Pulumi.yaml b/examples/fabric/cloud_router/example_1/csharp/Pulumi.yaml similarity index 76% rename from examples/fabric/cloud_router/csharp/Pulumi.yaml rename to examples/fabric/cloud_router/example_1/csharp/Pulumi.yaml index 597d0ede..28a95beb 100644 --- a/examples/fabric/cloud_router/csharp/Pulumi.yaml +++ b/examples/fabric/cloud_router/example_1/csharp/Pulumi.yaml @@ -1,3 +1,3 @@ # WARNING: This is an autogenerated file - manual changes will be overwritten if not made via ./scripts/generate_examples.sh -name: equinix-fabric-cloud_router +name: equinix-fabric-cloud_router-example_1 runtime: dotnet diff --git a/examples/fabric/cloud_router/csharp/equinix-fabric-cloud_router.csproj b/examples/fabric/cloud_router/example_1/csharp/equinix-fabric-cloud_router-example_1.csproj similarity index 100% rename from examples/fabric/cloud_router/csharp/equinix-fabric-cloud_router.csproj rename to examples/fabric/cloud_router/example_1/csharp/equinix-fabric-cloud_router-example_1.csproj diff --git a/examples/fabric/cloud_router/example_1/go/Pulumi.yaml b/examples/fabric/cloud_router/example_1/go/Pulumi.yaml new file mode 100644 index 00000000..31fdcae9 --- /dev/null +++ b/examples/fabric/cloud_router/example_1/go/Pulumi.yaml @@ -0,0 +1,2 @@ +name: equinix-fabric-cloud_router-example_1 +runtime: go diff --git a/examples/fabric/cloud_router/go/go.mod b/examples/fabric/cloud_router/example_1/go/go.mod similarity index 98% rename from examples/fabric/cloud_router/go/go.mod rename to examples/fabric/cloud_router/example_1/go/go.mod index fd584236..ca897e13 100644 --- a/examples/fabric/cloud_router/go/go.mod +++ b/examples/fabric/cloud_router/example_1/go/go.mod @@ -1,8 +1,8 @@ -module equinix-fabric-cloud_router +module equinix-fabric-cloud_router-example_1 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/cloud_router/go/main.go b/examples/fabric/cloud_router/example_1/go/main.go similarity index 100% rename from examples/fabric/cloud_router/go/main.go rename to examples/fabric/cloud_router/example_1/go/main.go diff --git a/examples/fabric/cloud_router/java/Pulumi.yaml b/examples/fabric/cloud_router/example_1/java/Pulumi.yaml similarity index 75% rename from examples/fabric/cloud_router/java/Pulumi.yaml rename to examples/fabric/cloud_router/example_1/java/Pulumi.yaml index e9819e8c..a41401a7 100644 --- a/examples/fabric/cloud_router/java/Pulumi.yaml +++ b/examples/fabric/cloud_router/example_1/java/Pulumi.yaml @@ -1,3 +1,3 @@ # WARNING: This is an autogenerated file - manual changes will be overwritten if not made via ./scripts/generate_examples.sh -name: equinix-fabric-cloud_router +name: equinix-fabric-cloud_router-example_1 runtime: java diff --git a/examples/fabric/cloud_router/java/pom.xml b/examples/fabric/cloud_router/example_1/java/pom.xml similarity index 97% rename from examples/fabric/cloud_router/java/pom.xml rename to examples/fabric/cloud_router/example_1/java/pom.xml index b6cab8eb..98b7bb62 100644 --- a/examples/fabric/cloud_router/java/pom.xml +++ b/examples/fabric/cloud_router/example_1/java/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.pulumi - equinix-fabric-cloud_router + equinix-fabric-cloud_router-example_1 1.0-SNAPSHOT diff --git a/examples/fabric/cloud_router/java/src/main/java/generated_program/App.java b/examples/fabric/cloud_router/example_1/java/src/main/java/generated_program/App.java similarity index 100% rename from examples/fabric/cloud_router/java/src/main/java/generated_program/App.java rename to examples/fabric/cloud_router/example_1/java/src/main/java/generated_program/App.java diff --git a/examples/fabric/cloud_router/python/.gitignore b/examples/fabric/cloud_router/example_1/python/.gitignore similarity index 100% rename from examples/fabric/cloud_router/python/.gitignore rename to examples/fabric/cloud_router/example_1/python/.gitignore diff --git a/examples/fabric/cloud_router/example_1/python/Pulumi.yaml b/examples/fabric/cloud_router/example_1/python/Pulumi.yaml new file mode 100644 index 00000000..94f292df --- /dev/null +++ b/examples/fabric/cloud_router/example_1/python/Pulumi.yaml @@ -0,0 +1,2 @@ +name: equinix-fabric-cloud_router-example_1 +runtime: python diff --git a/examples/fabric/cloud_router/python/__main__.py b/examples/fabric/cloud_router/example_1/python/__main__.py similarity index 100% rename from examples/fabric/cloud_router/python/__main__.py rename to examples/fabric/cloud_router/example_1/python/__main__.py diff --git a/examples/fabric/cloud_router/python/requirements.txt b/examples/fabric/cloud_router/example_1/python/requirements.txt similarity index 100% rename from examples/fabric/cloud_router/python/requirements.txt rename to examples/fabric/cloud_router/example_1/python/requirements.txt diff --git a/examples/fabric/cloud_router/typescript/.gitignore b/examples/fabric/cloud_router/example_1/typescript/.gitignore similarity index 100% rename from examples/fabric/cloud_router/typescript/.gitignore rename to examples/fabric/cloud_router/example_1/typescript/.gitignore diff --git a/examples/fabric/cloud_router/example_1/typescript/Pulumi.yaml b/examples/fabric/cloud_router/example_1/typescript/Pulumi.yaml new file mode 100644 index 00000000..baa20cb7 --- /dev/null +++ b/examples/fabric/cloud_router/example_1/typescript/Pulumi.yaml @@ -0,0 +1,2 @@ +name: equinix-fabric-cloud_router-example_1 +runtime: nodejs diff --git a/examples/fabric/cloud_router/typescript/index.ts b/examples/fabric/cloud_router/example_1/typescript/index.ts similarity index 100% rename from examples/fabric/cloud_router/typescript/index.ts rename to examples/fabric/cloud_router/example_1/typescript/index.ts diff --git a/examples/fabric/cloud_router/typescript/package.json b/examples/fabric/cloud_router/example_1/typescript/package.json similarity index 77% rename from examples/fabric/cloud_router/typescript/package.json rename to examples/fabric/cloud_router/example_1/typescript/package.json index 1e23a03b..017a2043 100644 --- a/examples/fabric/cloud_router/typescript/package.json +++ b/examples/fabric/cloud_router/example_1/typescript/package.json @@ -1,5 +1,5 @@ { - "name": "equinix-fabric-cloud_router", + "name": "equinix-fabric-cloud_router-example_1", "devDependencies": { "@types/node": "^14" }, diff --git a/examples/fabric/cloud_router/typescript/tsconfig.json b/examples/fabric/cloud_router/example_1/typescript/tsconfig.json similarity index 100% rename from examples/fabric/cloud_router/typescript/tsconfig.json rename to examples/fabric/cloud_router/example_1/typescript/tsconfig.json diff --git a/examples/fabric/cloud_router/example_2/.autogenerated b/examples/fabric/cloud_router/example_2/.autogenerated new file mode 100644 index 00000000..e69de29b diff --git a/examples/fabric/cloud_router/example_2/Pulumi.yaml b/examples/fabric/cloud_router/example_2/Pulumi.yaml new file mode 100644 index 00000000..0d7eca44 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/Pulumi.yaml @@ -0,0 +1,26 @@ +# WARNING: This is an autogenerated file - manual changes will be overwritten if not made via ./scripts/generate_examples.sh +name: equinix-fabric-cloud_router-example_2 +runtime: yaml +resources: + newCloudRouter: + type: equinix:fabric:CloudRouter + name: new_cloud_router + properties: + name: Router-SV + type: XF_ROUTER + notifications: + - type: ALL + emails: + - example@equinix.com + - test1@equinix.com + order: + purchaseOrderNumber: 1-323292 + location: + metroCode: SV + package: + code: STANDARD + project: + projectId: '776847000642406' + marketplaceSubscription: + type: AWS_MARKETPLACE_SUBSCRIPTION + uuid: 2823b8ae07-a2a2-45b4-a658-c3542bb24e9 diff --git a/examples/fabric/cloud_router/example_2/csharp/.gitignore b/examples/fabric/cloud_router/example_2/csharp/.gitignore new file mode 100644 index 00000000..e6452706 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/csharp/.gitignore @@ -0,0 +1,353 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ diff --git a/examples/fabric/cloud_router/example_2/csharp/Program.cs b/examples/fabric/cloud_router/example_2/csharp/Program.cs new file mode 100644 index 00000000..34454803 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/csharp/Program.cs @@ -0,0 +1,48 @@ +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[] + { + "example@equinix.com", + "test1@equinix.com", + }, + }, + }, + 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", + }, + }); + +}); + diff --git a/examples/fabric/cloud_router/example_2/csharp/Pulumi.yaml b/examples/fabric/cloud_router/example_2/csharp/Pulumi.yaml new file mode 100644 index 00000000..cc8b51ce --- /dev/null +++ b/examples/fabric/cloud_router/example_2/csharp/Pulumi.yaml @@ -0,0 +1,3 @@ +# WARNING: This is an autogenerated file - manual changes will be overwritten if not made via ./scripts/generate_examples.sh +name: equinix-fabric-cloud_router-example_2 +runtime: dotnet diff --git a/examples/fabric/cloud_router/example_2/csharp/equinix-fabric-cloud_router-example_2.csproj b/examples/fabric/cloud_router/example_2/csharp/equinix-fabric-cloud_router-example_2.csproj new file mode 100644 index 00000000..36182104 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/csharp/equinix-fabric-cloud_router-example_2.csproj @@ -0,0 +1,13 @@ + + + + Exe + net6.0 + enable + + + + + + + \ No newline at end of file diff --git a/examples/fabric/cloud_router/example_2/go/Pulumi.yaml b/examples/fabric/cloud_router/example_2/go/Pulumi.yaml new file mode 100644 index 00000000..b5c38c8d --- /dev/null +++ b/examples/fabric/cloud_router/example_2/go/Pulumi.yaml @@ -0,0 +1,2 @@ +name: equinix-fabric-cloud_router-example_2 +runtime: go diff --git a/examples/fabric/cloud_router/example_2/go/go.mod b/examples/fabric/cloud_router/example_2/go/go.mod new file mode 100644 index 00000000..f6f6a646 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/go/go.mod @@ -0,0 +1,94 @@ +module equinix-fabric-cloud_router-example_2 + +go 1.21 + +toolchain go1.22.6 + +require ( + github.com/equinix/pulumi-equinix/sdk latest + github.com/pulumi/pulumi/sdk/v3 v3.128.0 +) + +require ( + dario.cat/mergo v1.0.0 // indirect + github.com/BurntSushi/toml v1.2.1 // indirect + github.com/Microsoft/go-winio v0.6.1 // indirect + github.com/ProtonMail/go-crypto v1.1.0-alpha.2 // indirect + github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect + github.com/agext/levenshtein v1.2.3 // indirect + github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect + github.com/atotto/clipboard v0.1.4 // indirect + github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect + github.com/blang/semver v3.5.1+incompatible // indirect + github.com/charmbracelet/bubbles v0.16.1 // indirect + github.com/charmbracelet/bubbletea v0.25.0 // indirect + github.com/charmbracelet/lipgloss v0.7.1 // indirect + github.com/cheggaaa/pb v1.0.29 // indirect + github.com/cloudflare/circl v1.3.7 // indirect + github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect + github.com/cyphar/filepath-securejoin v0.2.4 // indirect + github.com/djherbis/times v1.5.0 // indirect + github.com/emirpasic/gods v1.18.1 // indirect + github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect + github.com/go-git/go-billy/v5 v5.5.0 // indirect + github.com/go-git/go-git/v5 v5.12.0 // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/glog v1.2.0 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/google/uuid v1.6.0 // indirect + github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect + github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/hashicorp/go-multierror v1.1.1 // indirect + github.com/hashicorp/hcl/v2 v2.20.1 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect + github.com/kevinburke/ssh_config v1.2.0 // indirect + github.com/lucasb-eyer/go-colorful v1.2.0 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect + github.com/mattn/go-localereader v0.0.1 // indirect + github.com/mattn/go-runewidth v0.0.15 // indirect + github.com/mitchellh/go-ps v1.0.0 // indirect + github.com/mitchellh/go-wordwrap v1.0.1 // indirect + github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect + github.com/muesli/cancelreader v0.2.2 // indirect + github.com/muesli/reflow v0.3.0 // indirect + github.com/muesli/termenv v0.15.2 // indirect + github.com/opentracing/basictracer-go v1.1.0 // indirect + github.com/opentracing/opentracing-go v1.2.0 // indirect + github.com/pgavlin/fx v0.1.6 // indirect + github.com/pjbgf/sha1cd v0.3.0 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/pkg/term v1.1.0 // indirect + github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect + github.com/pulumi/esc v0.9.1 // indirect + github.com/rivo/uniseg v0.4.4 // indirect + github.com/rogpeppe/go-internal v1.12.0 // indirect + github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect + github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect + github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect + github.com/skeema/knownhosts v1.2.2 // indirect + github.com/spf13/cobra v1.8.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/texttheater/golang-levenshtein v1.0.1 // indirect + github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect + github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect + github.com/uber/jaeger-lib v2.4.1+incompatible // indirect + github.com/xanzy/ssh-agent v0.3.3 // indirect + github.com/zclconf/go-cty v1.14.4 // indirect + go.uber.org/atomic v1.11.0 // indirect + golang.org/x/crypto v0.24.0 // indirect + golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect + golang.org/x/mod v0.18.0 // indirect + golang.org/x/net v0.26.0 // indirect + golang.org/x/sync v0.7.0 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/term v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240311173647-c811ad7063a7 // indirect + google.golang.org/grpc v1.63.2 // indirect + google.golang.org/protobuf v1.34.0 // indirect + gopkg.in/warnings.v0 v0.1.2 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + lukechampine.com/frand v1.4.2 // indirect +) diff --git a/examples/fabric/cloud_router/example_2/go/main.go b/examples/fabric/cloud_router/example_2/go/main.go new file mode 100644 index 00000000..89b7ddf6 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/go/main.go @@ -0,0 +1,44 @@ +package main + +import ( + "github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func main() { + pulumi.Run(func(ctx *pulumi.Context) error { + _, err := fabric.NewCloudRouter(ctx, "newCloudRouter", &fabric.CloudRouterArgs{ + Name: pulumi.String("Router-SV"), + Type: pulumi.String("XF_ROUTER"), + Notifications: fabric.CloudRouterNotificationArray{ + &fabric.CloudRouterNotificationArgs{ + Type: pulumi.String("ALL"), + Emails: pulumi.StringArray{ + pulumi.String("example@equinix.com"), + pulumi.String("test1@equinix.com"), + }, + }, + }, + Order: &fabric.CloudRouterOrderArgs{ + PurchaseOrderNumber: pulumi.String("1-323292"), + }, + Location: &fabric.CloudRouterLocationArgs{ + MetroCode: pulumi.String("SV"), + }, + Package: &fabric.CloudRouterPackageArgs{ + Code: pulumi.String("STANDARD"), + }, + Project: &fabric.CloudRouterProjectArgs{ + ProjectId: pulumi.String("776847000642406"), + }, + MarketplaceSubscription: &fabric.CloudRouterMarketplaceSubscriptionArgs{ + Type: pulumi.String("AWS_MARKETPLACE_SUBSCRIPTION"), + Uuid: pulumi.String("2823b8ae07-a2a2-45b4-a658-c3542bb24e9"), + }, + }) + if err != nil { + return err + } + return nil + }) +} diff --git a/examples/fabric/cloud_router/example_2/java/Pulumi.yaml b/examples/fabric/cloud_router/example_2/java/Pulumi.yaml new file mode 100644 index 00000000..51957fba --- /dev/null +++ b/examples/fabric/cloud_router/example_2/java/Pulumi.yaml @@ -0,0 +1,3 @@ +# WARNING: This is an autogenerated file - manual changes will be overwritten if not made via ./scripts/generate_examples.sh +name: equinix-fabric-cloud_router-example_2 +runtime: java diff --git a/examples/fabric/cloud_router/example_2/java/pom.xml b/examples/fabric/cloud_router/example_2/java/pom.xml new file mode 100644 index 00000000..e5e9ca57 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/java/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + com.pulumi + equinix-fabric-cloud_router-example_2 + 1.0-SNAPSHOT + + + UTF-8 + 11 + 11 + 11 + generated_program.App + + + + + + com.pulumi + pulumi + (,1.0] + + + com.pulumi + equinix + (,1.0) + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.2.2 + + + + true + ${mainClass} + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 3.4.2 + + + + true + ${mainClass} + + + + jar-with-dependencies + + + + + make-my-jar-with-dependencies + package + + single + + + + + + org.codehaus.mojo + exec-maven-plugin + 3.1.0 + + ${mainClass} + ${mainArgs} + + + + org.apache.maven.plugins + maven-wrapper-plugin + 3.1.1 + + 3.8.5 + + + + + \ No newline at end of file diff --git a/examples/fabric/cloud_router/example_2/java/src/main/java/generated_program/App.java b/examples/fabric/cloud_router/example_2/java/src/main/java/generated_program/App.java new file mode 100644 index 00000000..4e847fa0 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/java/src/main/java/generated_program/App.java @@ -0,0 +1,55 @@ +package generated_program; + +import com.pulumi.Context; +import com.pulumi.Pulumi; +import com.pulumi.core.Output; +import com.pulumi.equinix.fabric.CloudRouter; +import com.pulumi.equinix.fabric.CloudRouterArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterNotificationArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterOrderArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterLocationArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterPackageArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterProjectArgs; +import com.pulumi.equinix.fabric.inputs.CloudRouterMarketplaceSubscriptionArgs; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.io.File; +import java.nio.file.Files; +import java.nio.file.Paths; + +public class App { + public static void main(String[] args) { + Pulumi.run(App::stack); + } + + public static void stack(Context ctx) { + var newCloudRouter = new CloudRouter("newCloudRouter", CloudRouterArgs.builder() + .name("Router-SV") + .type("XF_ROUTER") + .notifications(CloudRouterNotificationArgs.builder() + .type("ALL") + .emails( + "example@equinix.com", + "test1@equinix.com") + .build()) + .order(CloudRouterOrderArgs.builder() + .purchaseOrderNumber("1-323292") + .build()) + .location(CloudRouterLocationArgs.builder() + .metroCode("SV") + .build()) + .package_(CloudRouterPackageArgs.builder() + .code("STANDARD") + .build()) + .project(CloudRouterProjectArgs.builder() + .projectId("776847000642406") + .build()) + .marketplaceSubscription(CloudRouterMarketplaceSubscriptionArgs.builder() + .type("AWS_MARKETPLACE_SUBSCRIPTION") + .uuid("2823b8ae07-a2a2-45b4-a658-c3542bb24e9") + .build()) + .build()); + + } +} diff --git a/examples/fabric/cloud_router/example_2/python/.gitignore b/examples/fabric/cloud_router/example_2/python/.gitignore new file mode 100644 index 00000000..b664ab4e --- /dev/null +++ b/examples/fabric/cloud_router/example_2/python/.gitignore @@ -0,0 +1,2 @@ +*.pyc +venv/ \ No newline at end of file diff --git a/examples/fabric/cloud_router/example_2/python/Pulumi.yaml b/examples/fabric/cloud_router/example_2/python/Pulumi.yaml new file mode 100644 index 00000000..40675f93 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/python/Pulumi.yaml @@ -0,0 +1,2 @@ +name: equinix-fabric-cloud_router-example_2 +runtime: python diff --git a/examples/fabric/cloud_router/example_2/python/__main__.py b/examples/fabric/cloud_router/example_2/python/__main__.py new file mode 100644 index 00000000..611401a6 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/python/__main__.py @@ -0,0 +1,29 @@ +import pulumi +import pulumi_equinix as equinix + +new_cloud_router = equinix.fabric.CloudRouter("newCloudRouter", + name="Router-SV", + type="XF_ROUTER", + notifications=[{ + "type": "ALL", + "emails": [ + "example@equinix.com", + "test1@equinix.com", + ], + }], + order={ + "purchase_order_number": "1-323292", + }, + location={ + "metro_code": "SV", + }, + package={ + "code": "STANDARD", + }, + project={ + "project_id": "776847000642406", + }, + marketplace_subscription={ + "type": "AWS_MARKETPLACE_SUBSCRIPTION", + "uuid": "2823b8ae07-a2a2-45b4-a658-c3542bb24e9", + }) diff --git a/examples/fabric/cloud_router/example_2/python/requirements.txt b/examples/fabric/cloud_router/example_2/python/requirements.txt new file mode 100644 index 00000000..317d94a1 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/python/requirements.txt @@ -0,0 +1,2 @@ +pulumi>=3.0.0,<4.0.0 +pulumi_equinix==<1.0.0 diff --git a/examples/fabric/cloud_router/example_2/typescript/.gitignore b/examples/fabric/cloud_router/example_2/typescript/.gitignore new file mode 100644 index 00000000..dc902b57 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/typescript/.gitignore @@ -0,0 +1,2 @@ +/bin/ +/node_modules/ \ No newline at end of file diff --git a/examples/fabric/cloud_router/example_2/typescript/Pulumi.yaml b/examples/fabric/cloud_router/example_2/typescript/Pulumi.yaml new file mode 100644 index 00000000..5547e10c --- /dev/null +++ b/examples/fabric/cloud_router/example_2/typescript/Pulumi.yaml @@ -0,0 +1,2 @@ +name: equinix-fabric-cloud_router-example_2 +runtime: nodejs diff --git a/examples/fabric/cloud_router/example_2/typescript/index.ts b/examples/fabric/cloud_router/example_2/typescript/index.ts new file mode 100644 index 00000000..5c8d7893 --- /dev/null +++ b/examples/fabric/cloud_router/example_2/typescript/index.ts @@ -0,0 +1,30 @@ +import * as pulumi from "@pulumi/pulumi"; +import * as equinix from "@equinix-labs/pulumi-equinix"; + +const newCloudRouter = new equinix.fabric.CloudRouter("newCloudRouter", { + name: "Router-SV", + type: "XF_ROUTER", + notifications: [{ + type: "ALL", + emails: [ + "example@equinix.com", + "test1@equinix.com", + ], + }], + order: { + purchaseOrderNumber: "1-323292", + }, + location: { + metroCode: "SV", + }, + "package": { + code: "STANDARD", + }, + project: { + projectId: "776847000642406", + }, + marketplaceSubscription: { + type: "AWS_MARKETPLACE_SUBSCRIPTION", + uuid: "2823b8ae07-a2a2-45b4-a658-c3542bb24e9", + }, +}); diff --git a/examples/fabric/cloud_router/example_2/typescript/package.json b/examples/fabric/cloud_router/example_2/typescript/package.json new file mode 100644 index 00000000..920cf97b --- /dev/null +++ b/examples/fabric/cloud_router/example_2/typescript/package.json @@ -0,0 +1,11 @@ +{ + "name": "equinix-fabric-cloud_router-example_2", + "devDependencies": { + "@types/node": "^14" + }, + "dependencies": { + "typescript": "^4.0.0", + "@pulumi/pulumi": "^3.0.0", + "@equinix-labs/pulumi-equinix": "<1.0.0" + } +} \ No newline at end of file diff --git a/examples/fabric/cloud_router/example_2/typescript/tsconfig.json b/examples/fabric/cloud_router/example_2/typescript/tsconfig.json new file mode 100644 index 00000000..11fc69af --- /dev/null +++ b/examples/fabric/cloud_router/example_2/typescript/tsconfig.json @@ -0,0 +1,18 @@ +{ + "compilerOptions": { + "strict": true, + "outDir": "bin", + "target": "es2016", + "module": "commonjs", + "moduleResolution": "node", + "sourceMap": true, + "experimentalDecorators": true, + "pretty": true, + "noFallthroughCasesInSwitch": true, + "noImplicitReturns": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.ts", + ] +} \ No newline at end of file diff --git a/examples/fabric/cloud_router/go/Pulumi.yaml b/examples/fabric/cloud_router/go/Pulumi.yaml deleted file mode 100644 index 736a0bf5..00000000 --- a/examples/fabric/cloud_router/go/Pulumi.yaml +++ /dev/null @@ -1,2 +0,0 @@ -name: equinix-fabric-cloud_router -runtime: go diff --git a/examples/fabric/cloud_router/python/Pulumi.yaml b/examples/fabric/cloud_router/python/Pulumi.yaml deleted file mode 100644 index 232844e4..00000000 --- a/examples/fabric/cloud_router/python/Pulumi.yaml +++ /dev/null @@ -1,2 +0,0 @@ -name: equinix-fabric-cloud_router -runtime: python diff --git a/examples/fabric/cloud_router/typescript/Pulumi.yaml b/examples/fabric/cloud_router/typescript/Pulumi.yaml deleted file mode 100644 index 48e20da2..00000000 --- a/examples/fabric/cloud_router/typescript/Pulumi.yaml +++ /dev/null @@ -1,2 +0,0 @@ -name: equinix-fabric-cloud_router -runtime: nodejs diff --git a/examples/fabric/connection/example_fcr_to_azure/go/go.mod b/examples/fabric/connection/example_fcr_to_azure/go/go.mod index 24837a7d..3dfd3ec3 100644 --- a/examples/fabric/connection/example_fcr_to_azure/go/go.mod +++ b/examples/fabric/connection/example_fcr_to_azure/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_fcr_to_azure go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_fcr_to_metal/go/go.mod b/examples/fabric/connection/example_fcr_to_metal/go/go.mod index e320f205..41190582 100644 --- a/examples/fabric/connection/example_fcr_to_metal/go/go.mod +++ b/examples/fabric/connection/example_fcr_to_metal/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_fcr_to_metal go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_fcr_to_network/go/go.mod b/examples/fabric/connection/example_fcr_to_network/go/go.mod index 33978e84..293922b0 100644 --- a/examples/fabric/connection/example_fcr_to_network/go/go.mod +++ b/examples/fabric/connection/example_fcr_to_network/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_fcr_to_network go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_fcr_to_port/go/go.mod b/examples/fabric/connection/example_fcr_to_port/go/go.mod index 343e243c..10846cae 100644 --- a/examples/fabric/connection/example_fcr_to_port/go/go.mod +++ b/examples/fabric/connection/example_fcr_to_port/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_fcr_to_port go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_metal_to_aws/go/go.mod b/examples/fabric/connection/example_metal_to_aws/go/go.mod index 6e788bc5..bc715fcf 100644 --- a/examples/fabric/connection/example_metal_to_aws/go/go.mod +++ b/examples/fabric/connection/example_metal_to_aws/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_metal_to_aws go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_port_to_aws/go/go.mod b/examples/fabric/connection/example_port_to_aws/go/go.mod index 92a188fd..364b4798 100644 --- a/examples/fabric/connection/example_port_to_aws/go/go.mod +++ b/examples/fabric/connection/example_port_to_aws/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_port_to_aws go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_port_to_network_eplan/go/go.mod b/examples/fabric/connection/example_port_to_network_eplan/go/go.mod index 013c179c..02680219 100644 --- a/examples/fabric/connection/example_port_to_network_eplan/go/go.mod +++ b/examples/fabric/connection/example_port_to_network_eplan/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_port_to_network_eplan go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_port_to_network_evplan/go/go.mod b/examples/fabric/connection/example_port_to_network_evplan/go/go.mod index 68354d9b..ff9270a5 100644 --- a/examples/fabric/connection/example_port_to_network_evplan/go/go.mod +++ b/examples/fabric/connection/example_port_to_network_evplan/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_port_to_network_evplan go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_port_to_port/go/go.mod b/examples/fabric/connection/example_port_to_port/go/go.mod index 3b235449..d5d16d61 100644 --- a/examples/fabric/connection/example_port_to_port/go/go.mod +++ b/examples/fabric/connection/example_port_to_port/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_port_to_port go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_port_to_port_access_epl/go/go.mod b/examples/fabric/connection/example_port_to_port_access_epl/go/go.mod index 2b6cd76d..ce3ca732 100644 --- a/examples/fabric/connection/example_port_to_port_access_epl/go/go.mod +++ b/examples/fabric/connection/example_port_to_port_access_epl/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_port_to_port_access_epl go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_port_to_port_epl/go/go.mod b/examples/fabric/connection/example_port_to_port_epl/go/go.mod index 85098c30..ce5ae2e6 100644 --- a/examples/fabric/connection/example_port_to_port_epl/go/go.mod +++ b/examples/fabric/connection/example_port_to_port_epl/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_port_to_port_epl go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_port_to_vd/go/go.mod b/examples/fabric/connection/example_port_to_vd/go/go.mod index d963e8e7..f8244071 100644 --- a/examples/fabric/connection/example_port_to_vd/go/go.mod +++ b/examples/fabric/connection/example_port_to_vd/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_port_to_vd go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_token_to_aws/go/go.mod b/examples/fabric/connection/example_token_to_aws/go/go.mod index a73d6792..ff97fdb5 100644 --- a/examples/fabric/connection/example_token_to_aws/go/go.mod +++ b/examples/fabric/connection/example_token_to_aws/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_token_to_aws go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_vd_to_azure/go/go.mod b/examples/fabric/connection/example_vd_to_azure/go/go.mod index 7b85f357..b20803e7 100644 --- a/examples/fabric/connection/example_vd_to_azure/go/go.mod +++ b/examples/fabric/connection/example_vd_to_azure/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_vd_to_azure go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_vd_to_azure_redundant/go/go.mod b/examples/fabric/connection/example_vd_to_azure_redundant/go/go.mod index 9d98b2e7..0ffaa3a2 100644 --- a/examples/fabric/connection/example_vd_to_azure_redundant/go/go.mod +++ b/examples/fabric/connection/example_vd_to_azure_redundant/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_vd_to_azure_redundant go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_vd_to_network/go/go.mod b/examples/fabric/connection/example_vd_to_network/go/go.mod index 1b8f2b6e..4dcd5bfd 100644 --- a/examples/fabric/connection/example_vd_to_network/go/go.mod +++ b/examples/fabric/connection/example_vd_to_network/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_vd_to_network go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/connection/example_vd_to_token/go/go.mod b/examples/fabric/connection/example_vd_to_token/go/go.mod index 0dc2f5ba..d687db93 100644 --- a/examples/fabric/connection/example_vd_to_token/go/go.mod +++ b/examples/fabric/connection/example_vd_to_token/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-connection-example_vd_to_token go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/network/go/go.mod b/examples/fabric/network/go/go.mod index 99d1591a..714f2adb 100644 --- a/examples/fabric/network/go/go.mod +++ b/examples/fabric/network/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-network go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/routing_protocol/example_1/go/go.mod b/examples/fabric/routing_protocol/example_1/go/go.mod index 35924d28..ab6c2b82 100644 --- a/examples/fabric/routing_protocol/example_1/go/go.mod +++ b/examples/fabric/routing_protocol/example_1/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-routing_protocol-example_1 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/routing_protocol/example_2/go/go.mod b/examples/fabric/routing_protocol/example_2/go/go.mod index 5f46c2dd..10074600 100644 --- a/examples/fabric/routing_protocol/example_2/go/go.mod +++ b/examples/fabric/routing_protocol/example_2/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-routing_protocol-example_2 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/routing_protocol/example_3/go/go.mod b/examples/fabric/routing_protocol/example_3/go/go.mod index 501009d2..6c6d1292 100644 --- a/examples/fabric/routing_protocol/example_3/go/go.mod +++ b/examples/fabric/routing_protocol/example_3/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-routing_protocol-example_3 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/fabric/service_profile/go/go.mod b/examples/fabric/service_profile/go/go.mod index 4ad9c769..14a1fed1 100644 --- a/examples/fabric/service_profile/go/go.mod +++ b/examples/fabric/service_profile/go/go.mod @@ -2,7 +2,7 @@ module equinix-fabric-service_profile go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/bgp_session/go/go.mod b/examples/metal/bgp_session/go/go.mod index 39083104..b4420d47 100644 --- a/examples/metal/bgp_session/go/go.mod +++ b/examples/metal/bgp_session/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-bgp_session go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/connection/example_shared_metal_fabric_connection_from_fcr/go/go.mod b/examples/metal/connection/example_shared_metal_fabric_connection_from_fcr/go/go.mod index 4c19a4d3..eafb543c 100644 --- a/examples/metal/connection/example_shared_metal_fabric_connection_from_fcr/go/go.mod +++ b/examples/metal/connection/example_shared_metal_fabric_connection_from_fcr/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-connection-example_shared_metal_fabric_connection_from_fcr go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/connection/example_shared_metal_fabric_connection_to_csp/go/go.mod b/examples/metal/connection/example_shared_metal_fabric_connection_to_csp/go/go.mod index 3951f834..59e339d9 100644 --- a/examples/metal/connection/example_shared_metal_fabric_connection_to_csp/go/go.mod +++ b/examples/metal/connection/example_shared_metal_fabric_connection_to_csp/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-connection-example_shared_metal_fabric_connection_to_csp go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/device/example_1/go/go.mod b/examples/metal/device/example_1/go/go.mod index c644ff48..5c9b50af 100644 --- a/examples/metal/device/example_1/go/go.mod +++ b/examples/metal/device/example_1/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-device-example_1 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/device/example_2/go/go.mod b/examples/metal/device/example_2/go/go.mod index 055545de..5dcb55dd 100644 --- a/examples/metal/device/example_2/go/go.mod +++ b/examples/metal/device/example_2/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-device-example_2 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/device/example_3/go/go.mod b/examples/metal/device/example_3/go/go.mod index c7be89fb..9a7a9931 100644 --- a/examples/metal/device/example_3/go/go.mod +++ b/examples/metal/device/example_3/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-device-example_3 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/device/example_4/go/go.mod b/examples/metal/device/example_4/go/go.mod index fbab50a5..5f7836d4 100644 --- a/examples/metal/device/example_4/go/go.mod +++ b/examples/metal/device/example_4/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-device-example_4 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/device/example_5/go/go.mod b/examples/metal/device/example_5/go/go.mod index f750bdcf..03a25226 100644 --- a/examples/metal/device/example_5/go/go.mod +++ b/examples/metal/device/example_5/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-device-example_5 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/device_network_type/go/go.mod b/examples/metal/device_network_type/go/go.mod index 191db7f0..f55419fe 100644 --- a/examples/metal/device_network_type/go/go.mod +++ b/examples/metal/device_network_type/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-device-network-type go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/gateway/example_1/go/go.mod b/examples/metal/gateway/example_1/go/go.mod index b83ff2c8..1f1f2f45 100644 --- a/examples/metal/gateway/example_1/go/go.mod +++ b/examples/metal/gateway/example_1/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-gateway-example_1 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/gateway/example_2/go/go.mod b/examples/metal/gateway/example_2/go/go.mod index 522a41f6..ad7e4e59 100644 --- a/examples/metal/gateway/example_2/go/go.mod +++ b/examples/metal/gateway/example_2/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-gateway-example_2 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/ip_attachment/go/go.mod b/examples/metal/ip_attachment/go/go.mod index 8717d20b..cb3e8234 100644 --- a/examples/metal/ip_attachment/go/go.mod +++ b/examples/metal/ip_attachment/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-ip_attachment go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/organization/go/go.mod b/examples/metal/organization/go/go.mod index 987310f0..a85ad4f1 100644 --- a/examples/metal/organization/go/go.mod +++ b/examples/metal/organization/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-organization go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/organization_member/example_1/go/go.mod b/examples/metal/organization_member/example_1/go/go.mod index 47592f01..2a9a4594 100644 --- a/examples/metal/organization_member/example_1/go/go.mod +++ b/examples/metal/organization_member/example_1/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-organization_member-example_1 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/organization_member/example_2/go/go.mod b/examples/metal/organization_member/example_2/go/go.mod index 8a57000d..e2f8b6d1 100644 --- a/examples/metal/organization_member/example_2/go/go.mod +++ b/examples/metal/organization_member/example_2/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-organization_member-example_2 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/port_vlan_attachment/example_1/go/go.mod b/examples/metal/port_vlan_attachment/example_1/go/go.mod index 45f44b47..48cf587b 100644 --- a/examples/metal/port_vlan_attachment/example_1/go/go.mod +++ b/examples/metal/port_vlan_attachment/example_1/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-port_vlan_attachment-example_1 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/port_vlan_attachment/example_2/go/go.mod b/examples/metal/port_vlan_attachment/example_2/go/go.mod index aa6f948b..69d8d297 100644 --- a/examples/metal/port_vlan_attachment/example_2/go/go.mod +++ b/examples/metal/port_vlan_attachment/example_2/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-port_vlan_attachment-example_2 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/project/example_1/go/go.mod b/examples/metal/project/example_1/go/go.mod index aacd563c..43b08b65 100644 --- a/examples/metal/project/example_1/go/go.mod +++ b/examples/metal/project/example_1/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-project-example_1 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/project/example_2/go/go.mod b/examples/metal/project/example_2/go/go.mod index 78c913b2..5f3eeb43 100644 --- a/examples/metal/project/example_2/go/go.mod +++ b/examples/metal/project/example_2/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-project-example_2 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/project/example_3/go/go.mod b/examples/metal/project/example_3/go/go.mod index 8e656fc8..491e078d 100644 --- a/examples/metal/project/example_3/go/go.mod +++ b/examples/metal/project/example_3/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-project-example_3 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/project_api_key/go/go.mod b/examples/metal/project_api_key/go/go.mod index 0d76a242..9f476dc1 100644 --- a/examples/metal/project_api_key/go/go.mod +++ b/examples/metal/project_api_key/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-project_api_key go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/project_ssh_key/go/go.mod b/examples/metal/project_ssh_key/go/go.mod index 23e27fd3..b629cc7a 100644 --- a/examples/metal/project_ssh_key/go/go.mod +++ b/examples/metal/project_ssh_key/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-project_ssh_key go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/reserved_ip_block/example_1/go/go.mod b/examples/metal/reserved_ip_block/example_1/go/go.mod index a99aecb2..2bc5df01 100644 --- a/examples/metal/reserved_ip_block/example_1/go/go.mod +++ b/examples/metal/reserved_ip_block/example_1/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-reserved_ip_block-example_1 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/reserved_ip_block/example_2/go/go.mod b/examples/metal/reserved_ip_block/example_2/go/go.mod index 8e9f4079..67111328 100644 --- a/examples/metal/reserved_ip_block/example_2/go/go.mod +++ b/examples/metal/reserved_ip_block/example_2/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-reserved_ip_block-example_2 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/spot_market_request/go/go.mod b/examples/metal/spot_market_request/go/go.mod index d95de307..66cd7ea3 100644 --- a/examples/metal/spot_market_request/go/go.mod +++ b/examples/metal/spot_market_request/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-spot_market_request go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/ssh_key/csharp/equinix-metal-ssh_key.csproj b/examples/metal/ssh_key/csharp/equinix-metal-ssh_key.csproj index d9bc35af..9bd72156 100644 --- a/examples/metal/ssh_key/csharp/equinix-metal-ssh_key.csproj +++ b/examples/metal/ssh_key/csharp/equinix-metal-ssh_key.csproj @@ -7,8 +7,8 @@ - + \ No newline at end of file diff --git a/examples/metal/ssh_key/go/go.mod b/examples/metal/ssh_key/go/go.mod index f4fe3717..a18187b4 100644 --- a/examples/metal/ssh_key/go/go.mod +++ b/examples/metal/ssh_key/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-ssh_key go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/user_api_key/go/go.mod b/examples/metal/user_api_key/go/go.mod index f7e2438c..723009a0 100644 --- a/examples/metal/user_api_key/go/go.mod +++ b/examples/metal/user_api_key/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-user_api_key go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/virtual_circuit/go/go.mod b/examples/metal/virtual_circuit/go/go.mod index b914fe2c..4366c86a 100644 --- a/examples/metal/virtual_circuit/go/go.mod +++ b/examples/metal/virtual_circuit/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-virtual_circuit go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/vlan/go/go.mod b/examples/metal/vlan/go/go.mod index 396dd8d4..2733a045 100644 --- a/examples/metal/vlan/go/go.mod +++ b/examples/metal/vlan/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-vlan go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/vrf/example_1/go/go.mod b/examples/metal/vrf/example_1/go/go.mod index 3ff28ef4..86e6ca54 100644 --- a/examples/metal/vrf/example_1/go/go.mod +++ b/examples/metal/vrf/example_1/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-vrf-example_1 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/vrf/example_2/go/go.mod b/examples/metal/vrf/example_2/go/go.mod index 36700963..6d479dad 100644 --- a/examples/metal/vrf/example_2/go/go.mod +++ b/examples/metal/vrf/example_2/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-vrf-example_2 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/metal/vrf/example_3/go/go.mod b/examples/metal/vrf/example_3/go/go.mod index 2e30f134..8a35c8a1 100644 --- a/examples/metal/vrf/example_3/go/go.mod +++ b/examples/metal/vrf/example_3/go/go.mod @@ -2,7 +2,7 @@ module equinix-metal-vrf-example_3 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/acl_template/go/go.mod b/examples/network/acl_template/go/go.mod index 318933b2..a8ce0d56 100644 --- a/examples/network/acl_template/go/go.mod +++ b/examples/network/acl_template/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-acl_template go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/bgp/go/go.mod b/examples/network/bgp/go/go.mod index 137ceb94..922b0c38 100644 --- a/examples/network/bgp/go/go.mod +++ b/examples/network/bgp/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-bgp go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/device/example_1/go/go.mod b/examples/network/device/example_1/go/go.mod index cde6f13e..7a16a20e 100644 --- a/examples/network/device/example_1/go/go.mod +++ b/examples/network/device/example_1/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-device-example_1 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/device/example_2/go/go.mod b/examples/network/device/example_2/go/go.mod index 7d14921e..644cada9 100644 --- a/examples/network/device/example_2/go/go.mod +++ b/examples/network/device/example_2/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-device-example_2 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/device/example_3/csharp/equinix-network-device-example_3.csproj b/examples/network/device/example_3/csharp/equinix-network-device-example_3.csproj index d9bc35af..9bd72156 100644 --- a/examples/network/device/example_3/csharp/equinix-network-device-example_3.csproj +++ b/examples/network/device/example_3/csharp/equinix-network-device-example_3.csproj @@ -7,8 +7,8 @@ - + \ No newline at end of file diff --git a/examples/network/device/example_3/go/go.mod b/examples/network/device/example_3/go/go.mod index abf106a8..749f0a59 100644 --- a/examples/network/device/example_3/go/go.mod +++ b/examples/network/device/example_3/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-device-example_3 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/device/example_4/go/go.mod b/examples/network/device/example_4/go/go.mod index dc727ce9..02f80a3b 100644 --- a/examples/network/device/example_4/go/go.mod +++ b/examples/network/device/example_4/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-device-example_4 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/device/example_5/go/go.mod b/examples/network/device/example_5/go/go.mod index c922c0ec..18835437 100644 --- a/examples/network/device/example_5/go/go.mod +++ b/examples/network/device/example_5/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-device-example_5 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/device/example_6/go/go.mod b/examples/network/device/example_6/go/go.mod index f3f841c6..7d090d5a 100644 --- a/examples/network/device/example_6/go/go.mod +++ b/examples/network/device/example_6/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-device-example_6 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/device/example_7/go/go.mod b/examples/network/device/example_7/go/go.mod index 4645c702..485ae092 100644 --- a/examples/network/device/example_7/go/go.mod +++ b/examples/network/device/example_7/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-device-example_7 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/device/example_8/go/go.mod b/examples/network/device/example_8/go/go.mod index 710a53cc..2dc4a480 100644 --- a/examples/network/device/example_8/go/go.mod +++ b/examples/network/device/example_8/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-device-example_8 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/device/example_9/go/go.mod b/examples/network/device/example_9/go/go.mod index e46c5157..2ce002d8 100644 --- a/examples/network/device/example_9/go/go.mod +++ b/examples/network/device/example_9/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-device-example_9 go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/device_link/go/go.mod b/examples/network/device_link/go/go.mod index 7e851d41..4f7d2455 100644 --- a/examples/network/device_link/go/go.mod +++ b/examples/network/device_link/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-device_link go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/file/csharp/equinix-network-file.csproj b/examples/network/file/csharp/equinix-network-file.csproj index 9bd72156..d9bc35af 100644 --- a/examples/network/file/csharp/equinix-network-file.csproj +++ b/examples/network/file/csharp/equinix-network-file.csproj @@ -7,8 +7,8 @@ - + \ No newline at end of file diff --git a/examples/network/file/go/go.mod b/examples/network/file/go/go.mod index b7f121eb..6f5343d4 100644 --- a/examples/network/file/go/go.mod +++ b/examples/network/file/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-file go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/ssh_key/go/go.mod b/examples/network/ssh_key/go/go.mod index 4dbf4c59..6fdab15a 100644 --- a/examples/network/ssh_key/go/go.mod +++ b/examples/network/ssh_key/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-ssh_key go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/examples/network/ssh_user/go/go.mod b/examples/network/ssh_user/go/go.mod index 1541376d..7f71d11f 100644 --- a/examples/network/ssh_user/go/go.mod +++ b/examples/network/ssh_user/go/go.mod @@ -2,7 +2,7 @@ module equinix-network-ssh_user go 1.21 -toolchain go1.21.13 +toolchain go1.22.6 require ( github.com/equinix/pulumi-equinix/sdk latest diff --git a/provider/cmd/pulumi-resource-equinix/bridge-metadata.json b/provider/cmd/pulumi-resource-equinix/bridge-metadata.json index da57b275..c7b32e41 100644 --- a/provider/cmd/pulumi-resource-equinix/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-equinix/bridge-metadata.json @@ -39,6 +39,7 @@ "equinix:fabric/getCloudRouters:getCloudRouters": 0, "equinix:fabric/getConnection:getConnection": 0, "equinix:fabric/getConnections:getConnections": 0, + "equinix:fabric/getMarketplaceSubscription:getMarketplaceSubscription": 0, "equinix:fabric/getNetwork:getNetwork": 0, "equinix:fabric/getNetworks:getNetworks": 0, "equinix:fabric/getPort:getPort": 0, diff --git a/provider/cmd/pulumi-resource-equinix/schema.json b/provider/cmd/pulumi-resource-equinix/schema.json index 117ee536..4c9054ed 100644 --- a/provider/cmd/pulumi-resource-equinix/schema.json +++ b/provider/cmd/pulumi-resource-equinix/schema.json @@ -115,13 +115,9 @@ } }, "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "accountNumber" - ] - } - } + "required": [ + "accountNumber" + ] }, "equinix:fabric/CloudRouterChangeLog:CloudRouterChangeLog": { "properties": { @@ -225,6 +221,30 @@ } } }, + "equinix:fabric/CloudRouterMarketplaceSubscription:CloudRouterMarketplaceSubscription": { + "properties": { + "type": { + "type": "string", + "description": "Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned Marketplace Subscription identifier\n" + } + }, + "type": "object", + "required": [ + "uuid" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "type", + "uuid" + ] + } + } + }, "equinix:fabric/CloudRouterNotification:CloudRouterNotification": { "properties": { "emails": { @@ -2956,6 +2976,28 @@ } } }, + "equinix:fabric/getCloudRouterMarketplaceSubscription:getCloudRouterMarketplaceSubscription": { + "properties": { + "type": { + "type": "string", + "description": "Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned Marketplace Subscription identifier\n" + } + }, + "type": "object", + "required": [ + "type", + "uuid" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "equinix:fabric/getCloudRouterNotification:getCloudRouterNotification": { "properties": { "emails": { @@ -3111,6 +3153,13 @@ }, "description": "Fabric Cloud Router location\n" }, + "marketplaceSubscriptions": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getCloudRoutersDataMarketplaceSubscription:getCloudRoutersDataMarketplaceSubscription" + }, + "description": "Equinix Fabric Entity for Marketplace Subscription\n" + }, "name": { "type": "string", "description": "Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" @@ -3169,6 +3218,7 @@ "equinixAsn", "href", "locations", + "marketplaceSubscriptions", "name", "notifications", "orders", @@ -3305,6 +3355,28 @@ } } }, + "equinix:fabric/getCloudRoutersDataMarketplaceSubscription:getCloudRoutersDataMarketplaceSubscription": { + "properties": { + "type": { + "type": "string", + "description": "Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned Marketplace Subscription identifier\n" + } + }, + "type": "object", + "required": [ + "type", + "uuid" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "equinix:fabric/getCloudRoutersDataNotification:getCloudRoutersDataNotification": { "properties": { "emails": { @@ -3852,11 +3924,11 @@ "properties": { "type": { "type": "string", - "description": "Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC\n" + "description": "Type of access point type config - VD, COLO\n" }, "uuid": { "type": "string", - "description": "Equinix-assigned connection identifier\n" + "description": "Equinix-assigned access point type config identifier\n" } }, "type": "object", @@ -4681,11 +4753,11 @@ "properties": { "type": { "type": "string", - "description": "Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC\n" + "description": "Type of access point type config - VD, COLO\n" }, "uuid": { "type": "string", - "description": "Equinix-assigned connection identifier\n" + "description": "Equinix-assigned access point type config identifier\n" } }, "type": "object", @@ -5108,7 +5180,7 @@ "properties": { "id": { "type": "integer", - "description": "The ID of this resource.\n" + "description": "id\n" }, "type": { "type": "string", @@ -5937,7 +6009,7 @@ "properties": { "id": { "type": "integer", - "description": "The ID of this resource.\n" + "description": "id\n" }, "type": { "type": "string", @@ -6276,7 +6348,7 @@ }, "property": { "type": "string", - "description": "Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *]\n" + "description": "Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *]\n" }, "values": { "type": "array", @@ -6319,6 +6391,105 @@ }, "type": "object" }, + "equinix:fabric/getMarketplaceSubscriptionEntitlement:getMarketplaceSubscriptionEntitlement": { + "properties": { + "assets": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getMarketplaceSubscriptionEntitlementAsset:getMarketplaceSubscriptionEntitlementAsset" + }, + "description": "Asset information\n" + }, + "quantityAvailable": { + "type": "integer", + "description": "Available Quantity\n" + }, + "quantityConsumed": { + "type": "integer", + "description": "Consumed Quantity\n" + }, + "quantityEntitled": { + "type": "integer", + "description": "Entitled Quantity\n" + }, + "uuid": { + "type": "string", + "description": "Subscription Entitlement Id\n" + } + }, + "type": "object", + "required": [ + "assets", + "quantityAvailable", + "quantityConsumed", + "quantityEntitled", + "uuid" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getMarketplaceSubscriptionEntitlementAsset:getMarketplaceSubscriptionEntitlementAsset": { + "properties": { + "packages": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getMarketplaceSubscriptionEntitlementAssetPackage:getMarketplaceSubscriptionEntitlementAssetPackage" + }, + "description": "Fabric Cloud Router Package Type\n" + }, + "type": { + "type": "string", + "description": "Defines the FCR type like; XF_ROUTER\n" + } + }, + "type": "object", + "required": [ + "packages", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getMarketplaceSubscriptionEntitlementAssetPackage:getMarketplaceSubscriptionEntitlementAssetPackage": { + "properties": { + "code": { + "type": "string", + "description": "Cloud Router package code\n" + } + }, + "type": "object", + "required": [ + "code" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "equinix:fabric/getMarketplaceSubscriptionTrial:getMarketplaceSubscriptionTrial": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Marketplace Subscription Trial Enabled\n" + } + }, + "type": "object", + "required": [ + "enabled" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "equinix:fabric/getNetworkChange:getNetworkChange": { "properties": { "href": { @@ -12810,7 +12981,7 @@ }, "resources": { "equinix:fabric/cloudRouter:CloudRouter": { - "description": "Fabric V4 API compatible resource allows creation and management of [Equinix Fabric Cloud Router](https://docs.equinix.com/en-us/Content/Interconnection/FCR/FCR-intro.htm#HowItWorks).\n\nAdditional documentation:\n* Getting Started: https://docs.equinix.com/en-us/Content/Interconnection/FCR/FCR-intro.htm#HowItWorks\n* API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#fabric-cloud-routers\n\n{{% examples %}}\n## Example Usage\n\n{{% example %}}\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\n\nconst newCloudRouter = new equinix.fabric.CloudRouter(\"newCloudRouter\", {\n name: \"Router-SV\",\n type: \"XF_ROUTER\",\n notifications: [{\n type: \"ALL\",\n emails: [\n \"example@equinix.com\",\n \"test1@equinix.com\",\n ],\n }],\n order: {\n purchaseOrderNumber: \"1-323292\",\n },\n location: {\n metroCode: \"SV\",\n },\n \"package\": {\n code: \"STANDARD\",\n },\n project: {\n projectId: \"776847000642406\",\n },\n account: {\n accountNumber: 203612,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nnew_cloud_router = equinix.fabric.CloudRouter(\"newCloudRouter\",\n name=\"Router-SV\",\n type=\"XF_ROUTER\",\n notifications=[{\n \"type\": \"ALL\",\n \"emails\": [\n \"example@equinix.com\",\n \"test1@equinix.com\",\n ],\n }],\n order={\n \"purchase_order_number\": \"1-323292\",\n },\n location={\n \"metro_code\": \"SV\",\n },\n package={\n \"code\": \"STANDARD\",\n },\n project={\n \"project_id\": \"776847000642406\",\n },\n account={\n \"account_number\": 203612,\n })\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := fabric.NewCloudRouter(ctx, \"newCloudRouter\", \u0026fabric.CloudRouterArgs{\n\t\t\tName: pulumi.String(\"Router-SV\"),\n\t\t\tType: pulumi.String(\"XF_ROUTER\"),\n\t\t\tNotifications: fabric.CloudRouterNotificationArray{\n\t\t\t\t\u0026fabric.CloudRouterNotificationArgs{\n\t\t\t\t\tType: pulumi.String(\"ALL\"),\n\t\t\t\t\tEmails: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"example@equinix.com\"),\n\t\t\t\t\t\tpulumi.String(\"test1@equinix.com\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tOrder: \u0026fabric.CloudRouterOrderArgs{\n\t\t\t\tPurchaseOrderNumber: pulumi.String(\"1-323292\"),\n\t\t\t},\n\t\t\tLocation: \u0026fabric.CloudRouterLocationArgs{\n\t\t\t\tMetroCode: pulumi.String(\"SV\"),\n\t\t\t},\n\t\t\tPackage: \u0026fabric.CloudRouterPackageArgs{\n\t\t\t\tCode: pulumi.String(\"STANDARD\"),\n\t\t\t},\n\t\t\tProject: \u0026fabric.CloudRouterProjectArgs{\n\t\t\t\tProjectId: pulumi.String(\"776847000642406\"),\n\t\t\t},\n\t\t\tAccount: \u0026fabric.CloudRouterAccountArgs{\n\t\t\t\tAccountNumber: pulumi.Int(203612),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var newCloudRouter = new Equinix.Fabric.CloudRouter(\"newCloudRouter\", new()\n {\n Name = \"Router-SV\",\n Type = \"XF_ROUTER\",\n Notifications = new[]\n {\n new Equinix.Fabric.Inputs.CloudRouterNotificationArgs\n {\n Type = \"ALL\",\n Emails = new[]\n {\n \"example@equinix.com\",\n \"test1@equinix.com\",\n },\n },\n },\n Order = new Equinix.Fabric.Inputs.CloudRouterOrderArgs\n {\n PurchaseOrderNumber = \"1-323292\",\n },\n Location = new Equinix.Fabric.Inputs.CloudRouterLocationArgs\n {\n MetroCode = \"SV\",\n },\n Package = new Equinix.Fabric.Inputs.CloudRouterPackageArgs\n {\n Code = \"STANDARD\",\n },\n Project = new Equinix.Fabric.Inputs.CloudRouterProjectArgs\n {\n ProjectId = \"776847000642406\",\n },\n Account = new Equinix.Fabric.Inputs.CloudRouterAccountArgs\n {\n AccountNumber = 203612,\n },\n });\n\n});\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.equinix.fabric.CloudRouter;\nimport com.pulumi.equinix.fabric.CloudRouterArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterNotificationArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterOrderArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterLocationArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterPackageArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterProjectArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterAccountArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var newCloudRouter = new CloudRouter(\"newCloudRouter\", CloudRouterArgs.builder()\n .name(\"Router-SV\")\n .type(\"XF_ROUTER\")\n .notifications(CloudRouterNotificationArgs.builder()\n .type(\"ALL\")\n .emails( \n \"example@equinix.com\",\n \"test1@equinix.com\")\n .build())\n .order(CloudRouterOrderArgs.builder()\n .purchaseOrderNumber(\"1-323292\")\n .build())\n .location(CloudRouterLocationArgs.builder()\n .metroCode(\"SV\")\n .build())\n .package_(CloudRouterPackageArgs.builder()\n .code(\"STANDARD\")\n .build())\n .project(CloudRouterProjectArgs.builder()\n .projectId(\"776847000642406\")\n .build())\n .account(CloudRouterAccountArgs.builder()\n .accountNumber(\"203612\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n newCloudRouter:\n type: equinix:fabric:CloudRouter\n name: new_cloud_router\n properties:\n name: Router-SV\n type: XF_ROUTER\n notifications:\n - type: ALL\n emails:\n - example@equinix.com\n - test1@equinix.com\n order:\n purchaseOrderNumber: 1-323292\n location:\n metroCode: SV\n package:\n code: STANDARD\n project:\n projectId: '776847000642406'\n account:\n accountNumber: '203612'\n```\n{{% /example %}}\n\n{{% /examples %}}", + "description": "Fabric V4 API compatible resource allows creation and management of [Equinix Fabric Cloud Router](https://docs.equinix.com/en-us/Content/Interconnection/FCR/FCR-intro.htm#HowItWorks).\n\nAdditional documentation:\n* Getting Started: https://docs.equinix.com/en-us/Content/Interconnection/FCR/FCR-intro.htm#HowItWorks\n* API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#fabric-cloud-routers\n\n{{% examples %}}\n## Example Usage\n\n{{% example %}}\n### example 1\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\n\nconst newCloudRouter = new equinix.fabric.CloudRouter(\"newCloudRouter\", {\n name: \"Router-SV\",\n type: \"XF_ROUTER\",\n notifications: [{\n type: \"ALL\",\n emails: [\n \"example@equinix.com\",\n \"test1@equinix.com\",\n ],\n }],\n order: {\n purchaseOrderNumber: \"1-323292\",\n },\n location: {\n metroCode: \"SV\",\n },\n \"package\": {\n code: \"STANDARD\",\n },\n project: {\n projectId: \"776847000642406\",\n },\n account: {\n accountNumber: 203612,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nnew_cloud_router = equinix.fabric.CloudRouter(\"newCloudRouter\",\n name=\"Router-SV\",\n type=\"XF_ROUTER\",\n notifications=[{\n \"type\": \"ALL\",\n \"emails\": [\n \"example@equinix.com\",\n \"test1@equinix.com\",\n ],\n }],\n order={\n \"purchase_order_number\": \"1-323292\",\n },\n location={\n \"metro_code\": \"SV\",\n },\n package={\n \"code\": \"STANDARD\",\n },\n project={\n \"project_id\": \"776847000642406\",\n },\n account={\n \"account_number\": 203612,\n })\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := fabric.NewCloudRouter(ctx, \"newCloudRouter\", \u0026fabric.CloudRouterArgs{\n\t\t\tName: pulumi.String(\"Router-SV\"),\n\t\t\tType: pulumi.String(\"XF_ROUTER\"),\n\t\t\tNotifications: fabric.CloudRouterNotificationArray{\n\t\t\t\t\u0026fabric.CloudRouterNotificationArgs{\n\t\t\t\t\tType: pulumi.String(\"ALL\"),\n\t\t\t\t\tEmails: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"example@equinix.com\"),\n\t\t\t\t\t\tpulumi.String(\"test1@equinix.com\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tOrder: \u0026fabric.CloudRouterOrderArgs{\n\t\t\t\tPurchaseOrderNumber: pulumi.String(\"1-323292\"),\n\t\t\t},\n\t\t\tLocation: \u0026fabric.CloudRouterLocationArgs{\n\t\t\t\tMetroCode: pulumi.String(\"SV\"),\n\t\t\t},\n\t\t\tPackage: \u0026fabric.CloudRouterPackageArgs{\n\t\t\t\tCode: pulumi.String(\"STANDARD\"),\n\t\t\t},\n\t\t\tProject: \u0026fabric.CloudRouterProjectArgs{\n\t\t\t\tProjectId: pulumi.String(\"776847000642406\"),\n\t\t\t},\n\t\t\tAccount: \u0026fabric.CloudRouterAccountArgs{\n\t\t\t\tAccountNumber: pulumi.Int(203612),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var newCloudRouter = new Equinix.Fabric.CloudRouter(\"newCloudRouter\", new()\n {\n Name = \"Router-SV\",\n Type = \"XF_ROUTER\",\n Notifications = new[]\n {\n new Equinix.Fabric.Inputs.CloudRouterNotificationArgs\n {\n Type = \"ALL\",\n Emails = new[]\n {\n \"example@equinix.com\",\n \"test1@equinix.com\",\n },\n },\n },\n Order = new Equinix.Fabric.Inputs.CloudRouterOrderArgs\n {\n PurchaseOrderNumber = \"1-323292\",\n },\n Location = new Equinix.Fabric.Inputs.CloudRouterLocationArgs\n {\n MetroCode = \"SV\",\n },\n Package = new Equinix.Fabric.Inputs.CloudRouterPackageArgs\n {\n Code = \"STANDARD\",\n },\n Project = new Equinix.Fabric.Inputs.CloudRouterProjectArgs\n {\n ProjectId = \"776847000642406\",\n },\n Account = new Equinix.Fabric.Inputs.CloudRouterAccountArgs\n {\n AccountNumber = 203612,\n },\n });\n\n});\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.equinix.fabric.CloudRouter;\nimport com.pulumi.equinix.fabric.CloudRouterArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterNotificationArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterOrderArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterLocationArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterPackageArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterProjectArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterAccountArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var newCloudRouter = new CloudRouter(\"newCloudRouter\", CloudRouterArgs.builder()\n .name(\"Router-SV\")\n .type(\"XF_ROUTER\")\n .notifications(CloudRouterNotificationArgs.builder()\n .type(\"ALL\")\n .emails( \n \"example@equinix.com\",\n \"test1@equinix.com\")\n .build())\n .order(CloudRouterOrderArgs.builder()\n .purchaseOrderNumber(\"1-323292\")\n .build())\n .location(CloudRouterLocationArgs.builder()\n .metroCode(\"SV\")\n .build())\n .package_(CloudRouterPackageArgs.builder()\n .code(\"STANDARD\")\n .build())\n .project(CloudRouterProjectArgs.builder()\n .projectId(\"776847000642406\")\n .build())\n .account(CloudRouterAccountArgs.builder()\n .accountNumber(\"203612\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n newCloudRouter:\n type: equinix:fabric:CloudRouter\n name: new_cloud_router\n properties:\n name: Router-SV\n type: XF_ROUTER\n notifications:\n - type: ALL\n emails:\n - example@equinix.com\n - test1@equinix.com\n order:\n purchaseOrderNumber: 1-323292\n location:\n metroCode: SV\n package:\n code: STANDARD\n project:\n projectId: '776847000642406'\n account:\n accountNumber: '203612'\n```\n{{% /example %}}\n\n{{% example %}}\n### example 2\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@equinix-labs/pulumi-equinix\";\n\nconst newCloudRouter = new equinix.fabric.CloudRouter(\"newCloudRouter\", {\n name: \"Router-SV\",\n type: \"XF_ROUTER\",\n notifications: [{\n type: \"ALL\",\n emails: [\n \"example@equinix.com\",\n \"test1@equinix.com\",\n ],\n }],\n order: {\n purchaseOrderNumber: \"1-323292\",\n },\n location: {\n metroCode: \"SV\",\n },\n \"package\": {\n code: \"STANDARD\",\n },\n project: {\n projectId: \"776847000642406\",\n },\n marketplaceSubscription: {\n type: \"AWS_MARKETPLACE_SUBSCRIPTION\",\n uuid: \"2823b8ae07-a2a2-45b4-a658-c3542bb24e9\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nnew_cloud_router = equinix.fabric.CloudRouter(\"newCloudRouter\",\n name=\"Router-SV\",\n type=\"XF_ROUTER\",\n notifications=[{\n \"type\": \"ALL\",\n \"emails\": [\n \"example@equinix.com\",\n \"test1@equinix.com\",\n ],\n }],\n order={\n \"purchase_order_number\": \"1-323292\",\n },\n location={\n \"metro_code\": \"SV\",\n },\n package={\n \"code\": \"STANDARD\",\n },\n project={\n \"project_id\": \"776847000642406\",\n },\n marketplace_subscription={\n \"type\": \"AWS_MARKETPLACE_SUBSCRIPTION\",\n \"uuid\": \"2823b8ae07-a2a2-45b4-a658-c3542bb24e9\",\n })\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := fabric.NewCloudRouter(ctx, \"newCloudRouter\", \u0026fabric.CloudRouterArgs{\n\t\t\tName: pulumi.String(\"Router-SV\"),\n\t\t\tType: pulumi.String(\"XF_ROUTER\"),\n\t\t\tNotifications: fabric.CloudRouterNotificationArray{\n\t\t\t\t\u0026fabric.CloudRouterNotificationArgs{\n\t\t\t\t\tType: pulumi.String(\"ALL\"),\n\t\t\t\t\tEmails: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"example@equinix.com\"),\n\t\t\t\t\t\tpulumi.String(\"test1@equinix.com\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tOrder: \u0026fabric.CloudRouterOrderArgs{\n\t\t\t\tPurchaseOrderNumber: pulumi.String(\"1-323292\"),\n\t\t\t},\n\t\t\tLocation: \u0026fabric.CloudRouterLocationArgs{\n\t\t\t\tMetroCode: pulumi.String(\"SV\"),\n\t\t\t},\n\t\t\tPackage: \u0026fabric.CloudRouterPackageArgs{\n\t\t\t\tCode: pulumi.String(\"STANDARD\"),\n\t\t\t},\n\t\t\tProject: \u0026fabric.CloudRouterProjectArgs{\n\t\t\t\tProjectId: pulumi.String(\"776847000642406\"),\n\t\t\t},\n\t\t\tMarketplaceSubscription: \u0026fabric.CloudRouterMarketplaceSubscriptionArgs{\n\t\t\t\tType: pulumi.String(\"AWS_MARKETPLACE_SUBSCRIPTION\"),\n\t\t\t\tUuid: pulumi.String(\"2823b8ae07-a2a2-45b4-a658-c3542bb24e9\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var newCloudRouter = new Equinix.Fabric.CloudRouter(\"newCloudRouter\", new()\n {\n Name = \"Router-SV\",\n Type = \"XF_ROUTER\",\n Notifications = new[]\n {\n new Equinix.Fabric.Inputs.CloudRouterNotificationArgs\n {\n Type = \"ALL\",\n Emails = new[]\n {\n \"example@equinix.com\",\n \"test1@equinix.com\",\n },\n },\n },\n Order = new Equinix.Fabric.Inputs.CloudRouterOrderArgs\n {\n PurchaseOrderNumber = \"1-323292\",\n },\n Location = new Equinix.Fabric.Inputs.CloudRouterLocationArgs\n {\n MetroCode = \"SV\",\n },\n Package = new Equinix.Fabric.Inputs.CloudRouterPackageArgs\n {\n Code = \"STANDARD\",\n },\n Project = new Equinix.Fabric.Inputs.CloudRouterProjectArgs\n {\n ProjectId = \"776847000642406\",\n },\n MarketplaceSubscription = new Equinix.Fabric.Inputs.CloudRouterMarketplaceSubscriptionArgs\n {\n Type = \"AWS_MARKETPLACE_SUBSCRIPTION\",\n Uuid = \"2823b8ae07-a2a2-45b4-a658-c3542bb24e9\",\n },\n });\n\n});\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.equinix.fabric.CloudRouter;\nimport com.pulumi.equinix.fabric.CloudRouterArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterNotificationArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterOrderArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterLocationArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterPackageArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterProjectArgs;\nimport com.pulumi.equinix.fabric.inputs.CloudRouterMarketplaceSubscriptionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var newCloudRouter = new CloudRouter(\"newCloudRouter\", CloudRouterArgs.builder()\n .name(\"Router-SV\")\n .type(\"XF_ROUTER\")\n .notifications(CloudRouterNotificationArgs.builder()\n .type(\"ALL\")\n .emails( \n \"example@equinix.com\",\n \"test1@equinix.com\")\n .build())\n .order(CloudRouterOrderArgs.builder()\n .purchaseOrderNumber(\"1-323292\")\n .build())\n .location(CloudRouterLocationArgs.builder()\n .metroCode(\"SV\")\n .build())\n .package_(CloudRouterPackageArgs.builder()\n .code(\"STANDARD\")\n .build())\n .project(CloudRouterProjectArgs.builder()\n .projectId(\"776847000642406\")\n .build())\n .marketplaceSubscription(CloudRouterMarketplaceSubscriptionArgs.builder()\n .type(\"AWS_MARKETPLACE_SUBSCRIPTION\")\n .uuid(\"2823b8ae07-a2a2-45b4-a658-c3542bb24e9\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n newCloudRouter:\n type: equinix:fabric:CloudRouter\n name: new_cloud_router\n properties:\n name: Router-SV\n type: XF_ROUTER\n notifications:\n - type: ALL\n emails:\n - example@equinix.com\n - test1@equinix.com\n order:\n purchaseOrderNumber: 1-323292\n location:\n metroCode: SV\n package:\n code: STANDARD\n project:\n projectId: '776847000642406'\n marketplaceSubscription:\n type: AWS_MARKETPLACE_SUBSCRIPTION\n uuid: 2823b8ae07-a2a2-45b4-a658-c3542bb24e9\n```\n{{% /example %}}\n\n{{% /examples %}}", "properties": { "account": { "$ref": "#/types/equinix:fabric/CloudRouterAccount:CloudRouterAccount", @@ -12859,6 +13030,10 @@ "$ref": "#/types/equinix:fabric/CloudRouterLocation:CloudRouterLocation", "description": "Fabric Cloud Router location\n" }, + "marketplaceSubscription": { + "$ref": "#/types/equinix:fabric/CloudRouterMarketplaceSubscription:CloudRouterMarketplaceSubscription", + "description": "Equinix Fabric Entity for Marketplace Subscription\n" + }, "name": { "type": "string", "description": "Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" @@ -12906,6 +13081,7 @@ "equinixAsn", "href", "location", + "marketplaceSubscription", "name", "notifications", "order", @@ -12932,6 +13108,10 @@ "$ref": "#/types/equinix:fabric/CloudRouterLocation:CloudRouterLocation", "description": "Fabric Cloud Router location\n" }, + "marketplaceSubscription": { + "$ref": "#/types/equinix:fabric/CloudRouterMarketplaceSubscription:CloudRouterMarketplaceSubscription", + "description": "Equinix Fabric Entity for Marketplace Subscription\n" + }, "name": { "type": "string", "description": "Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" @@ -12965,7 +13145,6 @@ } }, "requiredInputs": [ - "account", "location", "notifications", "package", @@ -13022,6 +13201,10 @@ "$ref": "#/types/equinix:fabric/CloudRouterLocation:CloudRouterLocation", "description": "Fabric Cloud Router location\n" }, + "marketplaceSubscription": { + "$ref": "#/types/equinix:fabric/CloudRouterMarketplaceSubscription:CloudRouterMarketplaceSubscription", + "description": "Equinix Fabric Entity for Marketplace Subscription\n" + }, "name": { "type": "string", "description": "Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" @@ -13832,7 +14015,7 @@ }, "selfProfile": { "type": "boolean", - "description": "Self Profile indicating if the profile is created for customer's self use\n" + "description": "Self Profile indicating if the profile is created for customer's self use\n" }, "state": { "type": "string", @@ -13847,7 +14030,7 @@ }, "type": { "type": "string", - "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE\n" + "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE\n" }, "uuid": { "type": "string", @@ -13939,7 +14122,7 @@ }, "selfProfile": { "type": "boolean", - "description": "Self Profile indicating if the profile is created for customer's self use\n" + "description": "Self Profile indicating if the profile is created for customer's self use\n" }, "state": { "type": "string", @@ -13972,7 +14155,7 @@ "$ref": "#/types/equinix:fabric/profileType:ProfileType" } ], - "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE\n" + "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE\n" }, "viewPoint": { "type": "string", @@ -14078,7 +14261,7 @@ }, "selfProfile": { "type": "boolean", - "description": "Self Profile indicating if the profile is created for customer's self use\n" + "description": "Self Profile indicating if the profile is created for customer's self use\n" }, "state": { "type": "string", @@ -14111,7 +14294,7 @@ "$ref": "#/types/equinix:fabric/profileType:ProfileType" } ], - "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE\n" + "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE\n" }, "uuid": { "type": "string", @@ -18851,6 +19034,13 @@ }, "description": "Fabric Cloud Router location\n" }, + "marketplaceSubscriptions": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getCloudRouterMarketplaceSubscription:getCloudRouterMarketplaceSubscription" + }, + "description": "Equinix Fabric Entity for Marketplace Subscription\n" + }, "name": { "type": "string", "description": "Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores\n" @@ -18881,7 +19071,7 @@ "items": { "$ref": "#/types/equinix:fabric/getCloudRouterProject:getCloudRouterProject" }, - "description": "Customer resource hierarchy project information.Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects\n" + "description": "Customer resource hierarchy project information. Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects\n" }, "state": { "type": "string", @@ -18909,6 +19099,7 @@ "equinixAsn", "href", "locations", + "marketplaceSubscriptions", "name", "notifications", "orders", @@ -18986,7 +19177,7 @@ } }, "equinix:fabric/getConnection:getConnection": { - "description": "Fabric V4 API compatible data resource that allow user to fetch connection for a given UUID\n\nAdditional documentation:\n* Getting Started: https://docs.equinix.com/en-us/Content/Interconnection/Fabric/IMPLEMENTATION/fabric-connections-implement.htm\n* API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#connections\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst connectionDataName = equinix.fabric.getConnection({\n uuid: \"\u003cuuid_of_connection\u003e\",\n});\nexport const id = connectionDataName.then(connectionDataName =\u003e connectionDataName.id);\nexport const name = connectionDataName.then(connectionDataName =\u003e connectionDataName.bandwidth);\nexport const accountNumber = connectionDataName.then(connectionDataName =\u003e connectionDataName.account?.accountNumber);\nexport const bandwidth = connectionDataName.then(connectionDataName =\u003e connectionDataName.bandwidth);\nexport const projectId = connectionDataName.then(connectionDataName =\u003e connectionDataName.project?.projectId);\nexport const redundancyGroup = connectionDataName.then(connectionDataName =\u003e connectionDataName.redundancy?.group);\nexport const redundancyPriority = connectionDataName.then(connectionDataName =\u003e connectionDataName.redundancy?.priority);\nexport const state = connectionDataName.then(connectionDataName =\u003e connectionDataName.state);\nexport const type = connectionDataName.then(connectionDataName =\u003e connectionDataName.type);\nexport const accessPointType = connectionDataName.then(connectionDataName =\u003e connectionDataName.aSide?.accessPoint?.type);\nexport const accessPointLinkProtocolType = connectionDataName.then(connectionDataName =\u003e connectionDataName.aSide?.accessPoint?.linkProtocol?.type);\nexport const accessPointLinkProtocolVlanTag = connectionDataName.then(connectionDataName =\u003e connectionDataName.aSide?.accessPoint?.linkProtocol?.vlanTag);\nexport const accessPointLinkProtocolVlanCTag = connectionDataName.then(connectionDataName =\u003e connectionDataName.aSide?.accessPoint?.linkProtocol?.vlanCTag);\nexport const accessPointLinkProtocolVlanSTag = connectionDataName.then(connectionDataName =\u003e connectionDataName.aSide?.accessPoint?.linkProtocol?.vlanSTag);\nexport const accessPointProviderConnectionId = connectionDataName.then(connectionDataName =\u003e connectionDataName.aSide?.accessPoint?.providerConnectionId);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nconnection_data_name = equinix.fabric.get_connection(uuid=\"\u003cuuid_of_connection\u003e\")\npulumi.export(\"id\", connection_data_name.id)\npulumi.export(\"name\", connection_data_name.bandwidth)\npulumi.export(\"accountNumber\", connection_data_name.account.account_number)\npulumi.export(\"bandwidth\", connection_data_name.bandwidth)\npulumi.export(\"projectId\", connection_data_name.project.project_id)\npulumi.export(\"redundancyGroup\", connection_data_name.redundancy.group)\npulumi.export(\"redundancyPriority\", connection_data_name.redundancy.priority)\npulumi.export(\"state\", connection_data_name.state)\npulumi.export(\"type\", connection_data_name.type)\npulumi.export(\"accessPointType\", connection_data_name.a_side.access_point.type)\npulumi.export(\"accessPointLinkProtocolType\", connection_data_name.a_side.access_point.link_protocol.type)\npulumi.export(\"accessPointLinkProtocolVlanTag\", connection_data_name.a_side.access_point.link_protocol.vlan_tag)\npulumi.export(\"accessPointLinkProtocolVlanCTag\", connection_data_name.a_side.access_point.link_protocol.vlan_c_tag)\npulumi.export(\"accessPointLinkProtocolVlanSTag\", connection_data_name.a_side.access_point.link_protocol.vlan_s_tag)\npulumi.export(\"accessPointProviderConnectionId\", connection_data_name.a_side.access_point.provider_connection_id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var connectionDataName = Equinix.Fabric.GetConnection.Invoke(new()\n {\n Uuid = \"\u003cuuid_of_connection\u003e\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"id\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Id),\n [\"name\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Bandwidth),\n [\"accountNumber\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Account?.AccountNumber),\n [\"bandwidth\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Bandwidth),\n [\"projectId\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Project?.ProjectId),\n [\"redundancyGroup\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Redundancy?.Group),\n [\"redundancyPriority\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Redundancy?.Priority),\n [\"state\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.State),\n [\"type\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Type),\n [\"accessPointType\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.ASide?.AccessPoint?.Type),\n [\"accessPointLinkProtocolType\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.ASide?.AccessPoint?.LinkProtocol?.Type),\n [\"accessPointLinkProtocolVlanTag\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.ASide?.AccessPoint?.LinkProtocol?.VlanTag),\n [\"accessPointLinkProtocolVlanCTag\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.ASide?.AccessPoint?.LinkProtocol?.VlanCTag),\n [\"accessPointLinkProtocolVlanSTag\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.ASide?.AccessPoint?.LinkProtocol?.VlanSTag),\n [\"accessPointProviderConnectionId\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.ASide?.AccessPoint?.ProviderConnectionId),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tconnectionDataName, err := fabric.LookupConnection(ctx, \u0026fabric.LookupConnectionArgs{\n\t\t\tUuid: \"\u003cuuid_of_connection\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"id\", connectionDataName.Id)\n\t\tctx.Export(\"name\", connectionDataName.Bandwidth)\n\t\tctx.Export(\"accountNumber\", connectionDataName.Account.AccountNumber)\n\t\tctx.Export(\"bandwidth\", connectionDataName.Bandwidth)\n\t\tctx.Export(\"projectId\", connectionDataName.Project.ProjectId)\n\t\tctx.Export(\"redundancyGroup\", connectionDataName.Redundancy.Group)\n\t\tctx.Export(\"redundancyPriority\", connectionDataName.Redundancy.Priority)\n\t\tctx.Export(\"state\", connectionDataName.State)\n\t\tctx.Export(\"type\", connectionDataName.Type)\n\t\tctx.Export(\"accessPointType\", connectionDataName.ASide.AccessPoint.Type)\n\t\tctx.Export(\"accessPointLinkProtocolType\", connectionDataName.ASide.AccessPoint.LinkProtocol.Type)\n\t\tctx.Export(\"accessPointLinkProtocolVlanTag\", connectionDataName.ASide.AccessPoint.LinkProtocol.VlanTag)\n\t\tctx.Export(\"accessPointLinkProtocolVlanCTag\", connectionDataName.ASide.AccessPoint.LinkProtocol.VlanCTag)\n\t\tctx.Export(\"accessPointLinkProtocolVlanSTag\", connectionDataName.ASide.AccessPoint.LinkProtocol.VlanSTag)\n\t\tctx.Export(\"accessPointProviderConnectionId\", connectionDataName.ASide.AccessPoint.ProviderConnectionId)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.equinix.fabric.FabricFunctions;\nimport com.pulumi.equinix.fabric.inputs.GetConnectionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var connectionDataName = FabricFunctions.getConnection(GetConnectionArgs.builder()\n .uuid(\"\u003cuuid_of_connection\u003e\")\n .build());\n\n ctx.export(\"id\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.id()));\n ctx.export(\"name\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.bandwidth()));\n ctx.export(\"accountNumber\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.account().accountNumber()));\n ctx.export(\"bandwidth\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.bandwidth()));\n ctx.export(\"projectId\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.project().projectId()));\n ctx.export(\"redundancyGroup\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.redundancy().group()));\n ctx.export(\"redundancyPriority\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.redundancy().priority()));\n ctx.export(\"state\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.state()));\n ctx.export(\"type\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.type()));\n ctx.export(\"accessPointType\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.aSide().accessPoint().type()));\n ctx.export(\"accessPointLinkProtocolType\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.aSide().accessPoint().linkProtocol().type()));\n ctx.export(\"accessPointLinkProtocolVlanTag\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.aSide().accessPoint().linkProtocol().vlanTag()));\n ctx.export(\"accessPointLinkProtocolVlanCTag\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.aSide().accessPoint().linkProtocol().vlanCTag()));\n ctx.export(\"accessPointLinkProtocolVlanSTag\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.aSide().accessPoint().linkProtocol().vlanSTag()));\n ctx.export(\"accessPointProviderConnectionId\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.aSide().accessPoint().providerConnectionId()));\n }\n}\n```\n```yaml\nvariables:\n connectionDataName:\n fn::invoke:\n Function: equinix:fabric:getConnection\n Arguments:\n uuid: \u003cuuid_of_connection\u003e\noutputs:\n id: ${connectionDataName.id}\n name: ${connectionDataName.bandwidth}\n accountNumber: ${connectionDataName.account.accountNumber}\n bandwidth: ${connectionDataName.bandwidth}\n projectId: ${connectionDataName.project.projectId}\n redundancyGroup: ${connectionDataName.redundancy.group}\n redundancyPriority: ${connectionDataName.redundancy.priority}\n state: ${connectionDataName.state}\n type: ${connectionDataName.type}\n # Same for z_side just use z_side instead of a_side\n accessPointType: ${connectionDataName.aSide.accessPoint.type}\n # Same for z_side just use z_side instead of a_side\n accessPointLinkProtocolType: ${connectionDataName.aSide.accessPoint.linkProtocol.type}\n # Same for z_side just use z_side instead of a_side\n accessPointLinkProtocolVlanTag: ${connectionDataName.aSide.accessPoint.linkProtocol.vlanTag}\n # Same for z_side just use z_side instead of a_side\n accessPointLinkProtocolVlanCTag: ${connectionDataName.aSide.accessPoint.linkProtocol.vlanCTag}\n # Same for z_side just use z_side instead of a_side\n accessPointLinkProtocolVlanSTag: ${connectionDataName.aSide.accessPoint.linkProtocol.vlanSTag}\n # Same for z_side just use z_side instead of a_side\n accessPointProviderConnectionId: ${connectionDataName.aSide.accessPoint.providerConnectionId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Fabric V4 API compatible data resource that allow user to fetch connection for a given UUID \n\nAdditional documentation:\n* Getting Started: https://docs.equinix.com/en-us/Content/Interconnection/Fabric/IMPLEMENTATION/fabric-connections-implement.htm\n* API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#connections\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst connectionDataName = equinix.fabric.getConnection({\n uuid: \"\u003cuuid_of_connection\u003e\",\n});\nexport const id = connectionDataName.then(connectionDataName =\u003e connectionDataName.id);\nexport const name = connectionDataName.then(connectionDataName =\u003e connectionDataName.bandwidth);\nexport const accountNumber = connectionDataName.then(connectionDataName =\u003e connectionDataName.account?.accountNumber);\nexport const bandwidth = connectionDataName.then(connectionDataName =\u003e connectionDataName.bandwidth);\nexport const projectId = connectionDataName.then(connectionDataName =\u003e connectionDataName.project?.projectId);\nexport const redundancyGroup = connectionDataName.then(connectionDataName =\u003e connectionDataName.redundancy?.group);\nexport const redundancyPriority = connectionDataName.then(connectionDataName =\u003e connectionDataName.redundancy?.priority);\nexport const state = connectionDataName.then(connectionDataName =\u003e connectionDataName.state);\nexport const type = connectionDataName.then(connectionDataName =\u003e connectionDataName.type);\nexport const accessPointType = connectionDataName.then(connectionDataName =\u003e connectionDataName.aSide?.accessPoint?.type);\nexport const accessPointLinkProtocolType = connectionDataName.then(connectionDataName =\u003e connectionDataName.aSide?.accessPoint?.linkProtocol?.type);\nexport const accessPointLinkProtocolVlanTag = connectionDataName.then(connectionDataName =\u003e connectionDataName.aSide?.accessPoint?.linkProtocol?.vlanTag);\nexport const accessPointLinkProtocolVlanCTag = connectionDataName.then(connectionDataName =\u003e connectionDataName.aSide?.accessPoint?.linkProtocol?.vlanCTag);\nexport const accessPointLinkProtocolVlanSTag = connectionDataName.then(connectionDataName =\u003e connectionDataName.aSide?.accessPoint?.linkProtocol?.vlanSTag);\nexport const accessPointProviderConnectionId = connectionDataName.then(connectionDataName =\u003e connectionDataName.aSide?.accessPoint?.providerConnectionId);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nconnection_data_name = equinix.fabric.get_connection(uuid=\"\u003cuuid_of_connection\u003e\")\npulumi.export(\"id\", connection_data_name.id)\npulumi.export(\"name\", connection_data_name.bandwidth)\npulumi.export(\"accountNumber\", connection_data_name.account.account_number)\npulumi.export(\"bandwidth\", connection_data_name.bandwidth)\npulumi.export(\"projectId\", connection_data_name.project.project_id)\npulumi.export(\"redundancyGroup\", connection_data_name.redundancy.group)\npulumi.export(\"redundancyPriority\", connection_data_name.redundancy.priority)\npulumi.export(\"state\", connection_data_name.state)\npulumi.export(\"type\", connection_data_name.type)\npulumi.export(\"accessPointType\", connection_data_name.a_side.access_point.type)\npulumi.export(\"accessPointLinkProtocolType\", connection_data_name.a_side.access_point.link_protocol.type)\npulumi.export(\"accessPointLinkProtocolVlanTag\", connection_data_name.a_side.access_point.link_protocol.vlan_tag)\npulumi.export(\"accessPointLinkProtocolVlanCTag\", connection_data_name.a_side.access_point.link_protocol.vlan_c_tag)\npulumi.export(\"accessPointLinkProtocolVlanSTag\", connection_data_name.a_side.access_point.link_protocol.vlan_s_tag)\npulumi.export(\"accessPointProviderConnectionId\", connection_data_name.a_side.access_point.provider_connection_id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var connectionDataName = Equinix.Fabric.GetConnection.Invoke(new()\n {\n Uuid = \"\u003cuuid_of_connection\u003e\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"id\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Id),\n [\"name\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Bandwidth),\n [\"accountNumber\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Account?.AccountNumber),\n [\"bandwidth\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Bandwidth),\n [\"projectId\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Project?.ProjectId),\n [\"redundancyGroup\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Redundancy?.Group),\n [\"redundancyPriority\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Redundancy?.Priority),\n [\"state\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.State),\n [\"type\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.Type),\n [\"accessPointType\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.ASide?.AccessPoint?.Type),\n [\"accessPointLinkProtocolType\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.ASide?.AccessPoint?.LinkProtocol?.Type),\n [\"accessPointLinkProtocolVlanTag\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.ASide?.AccessPoint?.LinkProtocol?.VlanTag),\n [\"accessPointLinkProtocolVlanCTag\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.ASide?.AccessPoint?.LinkProtocol?.VlanCTag),\n [\"accessPointLinkProtocolVlanSTag\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.ASide?.AccessPoint?.LinkProtocol?.VlanSTag),\n [\"accessPointProviderConnectionId\"] = connectionDataName.Apply(getConnectionResult =\u003e getConnectionResult.ASide?.AccessPoint?.ProviderConnectionId),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tconnectionDataName, err := fabric.LookupConnection(ctx, \u0026fabric.LookupConnectionArgs{\n\t\t\tUuid: \"\u003cuuid_of_connection\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"id\", connectionDataName.Id)\n\t\tctx.Export(\"name\", connectionDataName.Bandwidth)\n\t\tctx.Export(\"accountNumber\", connectionDataName.Account.AccountNumber)\n\t\tctx.Export(\"bandwidth\", connectionDataName.Bandwidth)\n\t\tctx.Export(\"projectId\", connectionDataName.Project.ProjectId)\n\t\tctx.Export(\"redundancyGroup\", connectionDataName.Redundancy.Group)\n\t\tctx.Export(\"redundancyPriority\", connectionDataName.Redundancy.Priority)\n\t\tctx.Export(\"state\", connectionDataName.State)\n\t\tctx.Export(\"type\", connectionDataName.Type)\n\t\tctx.Export(\"accessPointType\", connectionDataName.ASide.AccessPoint.Type)\n\t\tctx.Export(\"accessPointLinkProtocolType\", connectionDataName.ASide.AccessPoint.LinkProtocol.Type)\n\t\tctx.Export(\"accessPointLinkProtocolVlanTag\", connectionDataName.ASide.AccessPoint.LinkProtocol.VlanTag)\n\t\tctx.Export(\"accessPointLinkProtocolVlanCTag\", connectionDataName.ASide.AccessPoint.LinkProtocol.VlanCTag)\n\t\tctx.Export(\"accessPointLinkProtocolVlanSTag\", connectionDataName.ASide.AccessPoint.LinkProtocol.VlanSTag)\n\t\tctx.Export(\"accessPointProviderConnectionId\", connectionDataName.ASide.AccessPoint.ProviderConnectionId)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.equinix.fabric.FabricFunctions;\nimport com.pulumi.equinix.fabric.inputs.GetConnectionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var connectionDataName = FabricFunctions.getConnection(GetConnectionArgs.builder()\n .uuid(\"\u003cuuid_of_connection\u003e\")\n .build());\n\n ctx.export(\"id\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.id()));\n ctx.export(\"name\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.bandwidth()));\n ctx.export(\"accountNumber\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.account().accountNumber()));\n ctx.export(\"bandwidth\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.bandwidth()));\n ctx.export(\"projectId\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.project().projectId()));\n ctx.export(\"redundancyGroup\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.redundancy().group()));\n ctx.export(\"redundancyPriority\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.redundancy().priority()));\n ctx.export(\"state\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.state()));\n ctx.export(\"type\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.type()));\n ctx.export(\"accessPointType\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.aSide().accessPoint().type()));\n ctx.export(\"accessPointLinkProtocolType\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.aSide().accessPoint().linkProtocol().type()));\n ctx.export(\"accessPointLinkProtocolVlanTag\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.aSide().accessPoint().linkProtocol().vlanTag()));\n ctx.export(\"accessPointLinkProtocolVlanCTag\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.aSide().accessPoint().linkProtocol().vlanCTag()));\n ctx.export(\"accessPointLinkProtocolVlanSTag\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.aSide().accessPoint().linkProtocol().vlanSTag()));\n ctx.export(\"accessPointProviderConnectionId\", connectionDataName.applyValue(getConnectionResult -\u003e getConnectionResult.aSide().accessPoint().providerConnectionId()));\n }\n}\n```\n```yaml\nvariables:\n connectionDataName:\n fn::invoke:\n Function: equinix:fabric:getConnection\n Arguments:\n uuid: \u003cuuid_of_connection\u003e\noutputs:\n id: ${connectionDataName.id}\n name: ${connectionDataName.bandwidth}\n accountNumber: ${connectionDataName.account.accountNumber}\n bandwidth: ${connectionDataName.bandwidth}\n projectId: ${connectionDataName.project.projectId}\n redundancyGroup: ${connectionDataName.redundancy.group}\n redundancyPriority: ${connectionDataName.redundancy.priority}\n state: ${connectionDataName.state}\n type: ${connectionDataName.type}\n # Same for z_side just use z_side instead of a_side\n accessPointType: ${connectionDataName.aSide.accessPoint.type}\n # Same for z_side just use z_side instead of a_side\n accessPointLinkProtocolType: ${connectionDataName.aSide.accessPoint.linkProtocol.type}\n # Same for z_side just use z_side instead of a_side\n accessPointLinkProtocolVlanTag: ${connectionDataName.aSide.accessPoint.linkProtocol.vlanTag}\n # Same for z_side just use z_side instead of a_side\n accessPointLinkProtocolVlanCTag: ${connectionDataName.aSide.accessPoint.linkProtocol.vlanCTag}\n # Same for z_side just use z_side instead of a_side\n accessPointLinkProtocolVlanSTag: ${connectionDataName.aSide.accessPoint.linkProtocol.vlanSTag}\n # Same for z_side just use z_side instead of a_side\n accessPointProviderConnectionId: ${connectionDataName.aSide.accessPoint.providerConnectionId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getConnection.\n", "properties": { @@ -19082,7 +19273,7 @@ }, "type": { "type": "string", - "description": "Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC\n" + "description": "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\n" }, "uuid": { "type": "string", @@ -19198,6 +19389,78 @@ ] } }, + "equinix:fabric/getMarketplaceSubscription:getMarketplaceSubscription": { + "description": "Fabric V4 API compatible data resource that allow user to fetch Marketplace Subscription detail for a given UUID\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst subscription-test = equinix.fabric.getMarketplaceSubscription({\n uuid: \"\u003cuuid_of_marketplace_subscription\u003e\",\n});\nexport const id = subscription_test.then(subscription_test =\u003e subscription_test.id);\nexport const status = subscription_test.then(subscription_test =\u003e subscription_test.status);\nexport const marketplace = subscription_test.then(subscription_test =\u003e subscription_test.marketplace);\nexport const offerType = subscription_test.then(subscription_test =\u003e subscription_test.offerType);\nexport const isAutoRenew = subscription_test.then(subscription_test =\u003e subscription_test.isAutoRenew);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nsubscription_test = equinix.fabric.get_marketplace_subscription(uuid=\"\u003cuuid_of_marketplace_subscription\u003e\")\npulumi.export(\"id\", subscription_test.id)\npulumi.export(\"status\", subscription_test.status)\npulumi.export(\"marketplace\", subscription_test.marketplace)\npulumi.export(\"offerType\", subscription_test.offer_type)\npulumi.export(\"isAutoRenew\", subscription_test.is_auto_renew)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var subscription_test = Equinix.Fabric.GetMarketplaceSubscription.Invoke(new()\n {\n Uuid = \"\u003cuuid_of_marketplace_subscription\u003e\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"id\"] = subscription_test.Apply(subscription_test =\u003e subscription_test.Apply(getMarketplaceSubscriptionResult =\u003e getMarketplaceSubscriptionResult.Id)),\n [\"status\"] = subscription_test.Apply(subscription_test =\u003e subscription_test.Apply(getMarketplaceSubscriptionResult =\u003e getMarketplaceSubscriptionResult.Status)),\n [\"marketplace\"] = subscription_test.Apply(subscription_test =\u003e subscription_test.Apply(getMarketplaceSubscriptionResult =\u003e getMarketplaceSubscriptionResult.Marketplace)),\n [\"offerType\"] = subscription_test.Apply(subscription_test =\u003e subscription_test.Apply(getMarketplaceSubscriptionResult =\u003e getMarketplaceSubscriptionResult.OfferType)),\n [\"isAutoRenew\"] = subscription_test.Apply(subscription_test =\u003e subscription_test.Apply(getMarketplaceSubscriptionResult =\u003e getMarketplaceSubscriptionResult.IsAutoRenew)),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tsubscription_test, err := fabric.GetMarketplaceSubscription(ctx, \u0026fabric.GetMarketplaceSubscriptionArgs{\n\t\t\tUuid: \"\u003cuuid_of_marketplace_subscription\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"id\", subscription_test.Id)\n\t\tctx.Export(\"status\", subscription_test.Status)\n\t\tctx.Export(\"marketplace\", subscription_test.Marketplace)\n\t\tctx.Export(\"offerType\", subscription_test.OfferType)\n\t\tctx.Export(\"isAutoRenew\", subscription_test.IsAutoRenew)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.equinix.fabric.FabricFunctions;\nimport com.pulumi.equinix.fabric.inputs.GetMarketplaceSubscriptionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var subscription-test = FabricFunctions.getMarketplaceSubscription(GetMarketplaceSubscriptionArgs.builder()\n .uuid(\"\u003cuuid_of_marketplace_subscription\u003e\")\n .build());\n\n ctx.export(\"id\", subscription_test.id());\n ctx.export(\"status\", subscription_test.status());\n ctx.export(\"marketplace\", subscription_test.marketplace());\n ctx.export(\"offerType\", subscription_test.offerType());\n ctx.export(\"isAutoRenew\", subscription_test.isAutoRenew());\n }\n}\n```\n```yaml\nvariables:\n subscription-test:\n fn::invoke:\n Function: equinix:fabric:getMarketplaceSubscription\n Arguments:\n uuid: \u003cuuid_of_marketplace_subscription\u003e\noutputs:\n id: ${[\"subscription-test\"].id}\n status: ${[\"subscription-test\"].status}\n marketplace: ${[\"subscription-test\"].marketplace}\n offerType: ${[\"subscription-test\"].offerType}\n isAutoRenew: ${[\"subscription-test\"].isAutoRenew}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getMarketplaceSubscription.\n", + "properties": { + "uuid": { + "type": "string", + "description": "Equinix-assigned marketplace identifier\n" + } + }, + "type": "object", + "required": [ + "uuid" + ] + }, + "outputs": { + "description": "A collection of values returned by getMarketplaceSubscription.\n", + "properties": { + "entitlements": { + "type": "array", + "items": { + "$ref": "#/types/equinix:fabric/getMarketplaceSubscriptionEntitlement:getMarketplaceSubscriptionEntitlement" + }, + "description": "Subscription entitlements\n" + }, + "href": { + "type": "string", + "description": "Subscription URI information\n" + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "isAutoRenew": { + "type": "boolean", + "description": "Information about subscription auto renewal\n" + }, + "marketplace": { + "type": "string", + "description": "Marketplace like; AWS, GCP, AZURE, REDHAT\n" + }, + "offerType": { + "type": "string", + "description": "Marketplace Offer Type like; PUBLIC, PRIVATE_OFFER\n" + }, + "status": { + "type": "string", + "description": "Subscription Status like; ACTIVE, EXPIRED, CANCELLED, GRACE_PERIOD\n" + }, + "trial": { + "$ref": "#/types/equinix:fabric/getMarketplaceSubscriptionTrial:getMarketplaceSubscriptionTrial", + "description": "Subscription Trial\n" + }, + "uuid": { + "type": "string", + "description": "Equinix-assigned marketplace identifier\n" + } + }, + "type": "object", + "required": [ + "entitlements", + "href", + "isAutoRenew", + "marketplace", + "offerType", + "status", + "trial", + "uuid", + "id" + ] + } + }, "equinix:fabric/getNetwork:getNetwork": { "description": "Fabric V4 API compatible data resource that allow user to fetch Fabric Network for a given UUID\n\nAdditional documentation:\n* Getting Started: https://docs.equinix.com/en-us/Content/Interconnection/Fabric/IMPLEMENTATION/fabric-networks-implement.htm\n* API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#fabric-networks\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as equinix from \"@pulumi/equinix\";\n\nconst networkDataName = equinix.fabric.getNetwork({\n uuid: \"\u003cuuid_of_network\u003e\",\n});\nexport const id = networkDataName.then(networkDataName =\u003e networkDataName.id);\nexport const name = networkDataName.then(networkDataName =\u003e networkDataName.name);\nexport const scope = networkDataName.then(networkDataName =\u003e networkDataName.scope);\nexport const type = networkDataName.then(networkDataName =\u003e networkDataName.type);\nexport const region = networkDataName.then(networkDataName =\u003e networkDataName.locations?.[0]?.region);\n```\n```python\nimport pulumi\nimport pulumi_equinix as equinix\n\nnetwork_data_name = equinix.fabric.get_network(uuid=\"\u003cuuid_of_network\u003e\")\npulumi.export(\"id\", network_data_name.id)\npulumi.export(\"name\", network_data_name.name)\npulumi.export(\"scope\", network_data_name.scope)\npulumi.export(\"type\", network_data_name.type)\npulumi.export(\"region\", network_data_name.locations[0].region)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Equinix = Pulumi.Equinix;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var networkDataName = Equinix.Fabric.GetNetwork.Invoke(new()\n {\n Uuid = \"\u003cuuid_of_network\u003e\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"id\"] = networkDataName.Apply(getNetworkResult =\u003e getNetworkResult.Id),\n [\"name\"] = networkDataName.Apply(getNetworkResult =\u003e getNetworkResult.Name),\n [\"scope\"] = networkDataName.Apply(getNetworkResult =\u003e getNetworkResult.Scope),\n [\"type\"] = networkDataName.Apply(getNetworkResult =\u003e getNetworkResult.Type),\n [\"region\"] = networkDataName.Apply(getNetworkResult =\u003e getNetworkResult.Locations[0]?.Region),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tnetworkDataName, err := fabric.LookupNetwork(ctx, \u0026fabric.LookupNetworkArgs{\n\t\t\tUuid: \"\u003cuuid_of_network\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"id\", networkDataName.Id)\n\t\tctx.Export(\"name\", networkDataName.Name)\n\t\tctx.Export(\"scope\", networkDataName.Scope)\n\t\tctx.Export(\"type\", networkDataName.Type)\n\t\tctx.Export(\"region\", networkDataName.Locations[0].Region)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.equinix.fabric.FabricFunctions;\nimport com.pulumi.equinix.fabric.inputs.GetNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var networkDataName = FabricFunctions.getNetwork(GetNetworkArgs.builder()\n .uuid(\"\u003cuuid_of_network\u003e\")\n .build());\n\n ctx.export(\"id\", networkDataName.applyValue(getNetworkResult -\u003e getNetworkResult.id()));\n ctx.export(\"name\", networkDataName.applyValue(getNetworkResult -\u003e getNetworkResult.name()));\n ctx.export(\"scope\", networkDataName.applyValue(getNetworkResult -\u003e getNetworkResult.scope()));\n ctx.export(\"type\", networkDataName.applyValue(getNetworkResult -\u003e getNetworkResult.type()));\n ctx.export(\"region\", networkDataName.applyValue(getNetworkResult -\u003e getNetworkResult.locations()[0].region()));\n }\n}\n```\n```yaml\nvariables:\n networkDataName:\n fn::invoke:\n Function: equinix:fabric:getNetwork\n Arguments:\n uuid: \u003cuuid_of_network\u003e\noutputs:\n id: ${networkDataName.id}\n name: ${networkDataName.name}\n scope: ${networkDataName.scope}\n type: ${networkDataName.type}\n region: ${networkDataName.locations[0].region}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -19766,7 +20029,7 @@ }, "selfProfile": { "type": "boolean", - "description": "Self Profile indicating if the profile is created for customer's self use\n" + "description": "Self Profile indicating if the profile is created for customer's self use\n" }, "state": { "type": "string", @@ -19781,14 +20044,15 @@ }, "type": { "type": "string", - "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE\n" + "description": "Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE\n" }, "uuid": { "type": "string", "description": "Equinix assigned service profile identifier\n" }, "viewPoint": { - "type": "string" + "type": "string", + "description": "Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide\n" }, "virtualDevices": { "type": "array", diff --git a/provider/go.mod b/provider/go.mod index 7f52383b..4f2f130b 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -77,7 +77,7 @@ require ( github.com/djherbis/times v1.5.0 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect - github.com/equinix/equinix-sdk-go v0.44.0 // indirect + github.com/equinix/equinix-sdk-go v0.45.0 // indirect github.com/equinix/ne-go v1.17.0 // indirect github.com/equinix/oauth2-go v1.0.0 // indirect github.com/equinix/rest-go v1.3.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 607ba07f..c5fcac32 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1370,8 +1370,8 @@ github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6Ni github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/envoyproxy/protoc-gen-validate v1.0.1/go.mod h1:0vj8bNkYbSTNS2PIyH87KZaeN4x9zpL9Qt8fQC7d+vs= github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= -github.com/equinix/equinix-sdk-go v0.44.0 h1:v4ejvEGC6TYiwQ29NW4zaq7SlnqLe9SJmfLb4aanbkQ= -github.com/equinix/equinix-sdk-go v0.44.0/go.mod h1:hEb3XLaedz7xhl/dpPIS6eOIiXNPeqNiVoyDrT6paIg= +github.com/equinix/equinix-sdk-go v0.45.0 h1:M1moRw4Zt/nkxskDqzslfBc5TgB+QbqBiqBEfPkhl/Y= +github.com/equinix/equinix-sdk-go v0.45.0/go.mod h1:hEb3XLaedz7xhl/dpPIS6eOIiXNPeqNiVoyDrT6paIg= github.com/equinix/ne-go v1.17.0 h1:+wZq0GNognpiTHTsBXtATOCphTFvnowF046NzQXj0n0= github.com/equinix/ne-go v1.17.0/go.mod h1:eHkkxM4nbTB7DZ9X9zGnwfYnxIJWIsU3aHA+FAoZ1EI= github.com/equinix/oauth2-go v1.0.0 h1:fHtAPGq82PdgtK5vEThs8Vwz6f7D/8SX4tE3NJu+KcU= diff --git a/upstream b/upstream index 9709376d..c3324ae7 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit 9709376d6ea0c2f43886994fbcbee448245b2f27 +Subproject commit c3324ae77ec0e9eabcf0beb8515c69e2ce221d32 From 992518f36302ce2378b19f71373fd8e700606c65 Mon Sep 17 00:00:00 2001 From: Oscar Cobles Date: Fri, 20 Sep 2024 18:28:51 +0200 Subject: [PATCH 4/4] make build_sdks --- sdk/dotnet/Fabric/CloudRouter.cs | 73 +- sdk/dotnet/Fabric/GetCloudRouter.cs | 9 +- sdk/dotnet/Fabric/GetConnection.cs | 6 +- .../Fabric/GetMarketplaceSubscription.cs | 180 ++++ sdk/dotnet/Fabric/GetServiceProfile.cs | 7 +- .../Fabric/Inputs/CloudRouterAccountArgs.cs | 4 +- .../Inputs/CloudRouterAccountGetArgs.cs | 4 +- .../CloudRouterMarketplaceSubscriptionArgs.cs | 32 + ...oudRouterMarketplaceSubscriptionGetArgs.cs | 32 + .../Fabric/Inputs/GetConnectionsFilter.cs | 2 +- .../Fabric/Inputs/GetConnectionsFilterArgs.cs | 2 +- .../Fabric/Outputs/CloudRouterAccount.cs | 4 +- .../CloudRouterMarketplaceSubscription.cs | 35 + ...loudRouterMarketplaceSubscriptionResult.cs | 35 + ...outersDataMarketplaceSubscriptionResult.cs | 35 + .../Outputs/GetCloudRoutersDataResult.cs | 7 + ...PointProfileAccessPointTypeConfigResult.cs | 4 +- ...PointProfileAccessPointTypeConfigResult.cs | 4 +- ...ionsDataASideAccessPointInterfaceResult.cs | 2 +- ...ionsDataZSideAccessPointInterfaceResult.cs | 2 +- .../Outputs/GetConnectionsFilterResult.cs | 2 +- ...bscriptionEntitlementAssetPackageResult.cs | 27 + ...placeSubscriptionEntitlementAssetResult.cs | 35 + ...arketplaceSubscriptionEntitlementResult.cs | 56 ++ .../GetMarketplaceSubscriptionTrialResult.cs | 27 + sdk/dotnet/Fabric/ServiceProfile.cs | 12 +- sdk/go/equinix/fabric/cloudRouter.go | 73 +- sdk/go/equinix/fabric/getCloudRouter.go | 13 +- sdk/go/equinix/fabric/getConnection.go | 4 +- .../fabric/getMarketplaceSubscription.go | 171 ++++ sdk/go/equinix/fabric/getServiceProfile.go | 12 +- sdk/go/equinix/fabric/pulumiTypes.go | 853 +++++++++++++++++- sdk/go/equinix/fabric/serviceProfile.go | 24 +- sdk/java/build.gradle | 2 +- .../equinix/pulumi/fabric/CloudRouter.java | 76 ++ .../pulumi/fabric/CloudRouterArgs.java | 51 +- .../pulumi/fabric/FabricFunctions.java | 191 ++++ .../equinix/pulumi/fabric/ServiceProfile.java | 8 +- .../pulumi/fabric/ServiceProfileArgs.java | 20 +- .../fabric/inputs/CloudRouterAccountArgs.java | 16 +- ...loudRouterMarketplaceSubscriptionArgs.java | 124 +++ .../fabric/inputs/CloudRouterState.java | 38 + .../fabric/inputs/GetConnectionsFilter.java | 6 +- .../inputs/GetConnectionsFilterArgs.java | 8 +- .../GetMarketplaceSubscriptionArgs.java | 85 ++ .../GetMarketplaceSubscriptionPlainArgs.java | 74 ++ .../fabric/inputs/ServiceProfileState.java | 20 +- .../fabric/outputs/CloudRouterAccount.java | 17 +- .../CloudRouterMarketplaceSubscription.java | 81 ++ ...GetCloudRouterMarketplaceSubscription.java | 81 ++ .../fabric/outputs/GetCloudRouterResult.java | 31 +- .../fabric/outputs/GetCloudRoutersData.java | 27 + ...oudRoutersDataMarketplaceSubscription.java | 81 ++ ...cessPointProfileAccessPointTypeConfig.java | 8 +- .../fabric/outputs/GetConnectionResult.java | 4 +- ...cessPointProfileAccessPointTypeConfig.java | 8 +- ...nectionsDataASideAccessPointInterface.java | 4 +- ...nectionsDataZSideAccessPointInterface.java | 4 +- .../fabric/outputs/GetConnectionsFilter.java | 4 +- ...GetMarketplaceSubscriptionEntitlement.java | 156 ++++ ...rketplaceSubscriptionEntitlementAsset.java | 86 ++ ...ceSubscriptionEntitlementAssetPackage.java | 58 ++ .../GetMarketplaceSubscriptionResult.java | 249 +++++ .../GetMarketplaceSubscriptionTrial.java | 58 ++ .../outputs/GetServiceProfileResult.java | 16 +- sdk/nodejs/fabric/cloudRouter.ts | 53 +- sdk/nodejs/fabric/getCloudRouter.ts | 6 +- sdk/nodejs/fabric/getConnection.ts | 2 +- .../fabric/getMarketplaceSubscription.ts | 119 +++ sdk/nodejs/fabric/getServiceProfile.ts | 7 +- sdk/nodejs/fabric/index.ts | 5 + sdk/nodejs/fabric/serviceProfile.ts | 12 +- sdk/nodejs/tsconfig.json | 1 + sdk/nodejs/types/input.ts | 17 +- sdk/nodejs/types/output.ts | 99 +- sdk/python/pulumi_equinix/fabric/__init__.py | 1 + sdk/python/pulumi_equinix/fabric/_inputs.py | 52 +- .../pulumi_equinix/fabric/cloud_router.py | 146 ++- .../pulumi_equinix/fabric/get_cloud_router.py | 17 +- .../pulumi_equinix/fabric/get_connection.py | 2 +- .../fabric/get_marketplace_subscription.py | 206 +++++ .../fabric/get_service_profile.py | 7 +- sdk/python/pulumi_equinix/fabric/outputs.py | 268 +++++- .../pulumi_equinix/fabric/service_profile.py | 28 +- 84 files changed, 4283 insertions(+), 245 deletions(-) create mode 100644 sdk/dotnet/Fabric/GetMarketplaceSubscription.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterMarketplaceSubscriptionArgs.cs create mode 100644 sdk/dotnet/Fabric/Inputs/CloudRouterMarketplaceSubscriptionGetArgs.cs create mode 100644 sdk/dotnet/Fabric/Outputs/CloudRouterMarketplaceSubscription.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetCloudRouterMarketplaceSubscriptionResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetCloudRoutersDataMarketplaceSubscriptionResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionEntitlementAssetPackageResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionEntitlementAssetResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionEntitlementResult.cs create mode 100644 sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionTrialResult.cs create mode 100644 sdk/go/equinix/fabric/getMarketplaceSubscription.go create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterMarketplaceSubscriptionArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetMarketplaceSubscriptionArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetMarketplaceSubscriptionPlainArgs.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterMarketplaceSubscription.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterMarketplaceSubscription.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRoutersDataMarketplaceSubscription.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionEntitlement.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionEntitlementAsset.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionEntitlementAssetPackage.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionResult.java create mode 100644 sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionTrial.java create mode 100644 sdk/nodejs/fabric/getMarketplaceSubscription.ts create mode 100644 sdk/python/pulumi_equinix/fabric/get_marketplace_subscription.py diff --git a/sdk/dotnet/Fabric/CloudRouter.cs b/sdk/dotnet/Fabric/CloudRouter.cs index 68c057b5..f72ca214 100644 --- a/sdk/dotnet/Fabric/CloudRouter.cs +++ b/sdk/dotnet/Fabric/CloudRouter.cs @@ -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; @@ -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[] + /// { + /// "example@equinix.com", + /// "test1@equinix.com", + /// }, + /// }, + /// }, + /// 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", + /// }, + /// }); + /// + /// }); + /// ``` /// [EquinixResourceType("equinix:fabric/cloudRouter:CloudRouter")] public partial class CloudRouter : global::Pulumi.CustomResource @@ -135,6 +186,12 @@ public partial class CloudRouter : global::Pulumi.CustomResource [Output("location")] public Output Location { get; private set; } = null!; + /// + /// Equinix Fabric Entity for Marketplace Subscription + /// + [Output("marketplaceSubscription")] + public Output MarketplaceSubscription { get; private set; } = null!; + /// /// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores /// @@ -233,8 +290,8 @@ public sealed class CloudRouterArgs : global::Pulumi.ResourceArgs /// /// Customer account information that is associated with this Fabric Cloud Router /// - [Input("account", required: true)] - public Input Account { get; set; } = null!; + [Input("account")] + public Input? Account { get; set; } /// /// Customer-provided Fabric Cloud Router description @@ -254,6 +311,12 @@ public sealed class CloudRouterArgs : global::Pulumi.ResourceArgs [Input("location", required: true)] public Input Location { get; set; } = null!; + /// + /// Equinix Fabric Entity for Marketplace Subscription + /// + [Input("marketplaceSubscription")] + public Input? MarketplaceSubscription { get; set; } + /// /// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores /// @@ -382,6 +445,12 @@ public InputList ChangeLogs [Input("location")] public Input? Location { get; set; } + /// + /// Equinix Fabric Entity for Marketplace Subscription + /// + [Input("marketplaceSubscription")] + public Input? MarketplaceSubscription { get; set; } + /// /// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores /// diff --git a/sdk/dotnet/Fabric/GetCloudRouter.cs b/sdk/dotnet/Fabric/GetCloudRouter.cs index 2861385f..bfd857b2 100644 --- a/sdk/dotnet/Fabric/GetCloudRouter.cs +++ b/sdk/dotnet/Fabric/GetCloudRouter.cs @@ -176,6 +176,10 @@ public sealed class GetCloudRouterResult /// public readonly ImmutableArray Locations; /// + /// Equinix Fabric Entity for Marketplace Subscription + /// + public readonly ImmutableArray MarketplaceSubscriptions; + /// /// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores /// public readonly string Name; @@ -192,7 +196,7 @@ public sealed class GetCloudRouterResult /// public readonly ImmutableArray Packages; /// - /// 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 /// public readonly ImmutableArray Projects; /// @@ -234,6 +238,8 @@ private GetCloudRouterResult( ImmutableArray locations, + ImmutableArray marketplaceSubscriptions, + string name, ImmutableArray notifications, @@ -262,6 +268,7 @@ private GetCloudRouterResult( Href = href; Id = id; Locations = locations; + MarketplaceSubscriptions = marketplaceSubscriptions; Name = name; Notifications = notifications; Orders = orders; diff --git a/sdk/dotnet/Fabric/GetConnection.cs b/sdk/dotnet/Fabric/GetConnection.cs index b6b42f4c..24a1ec1f 100644 --- a/sdk/dotnet/Fabric/GetConnection.cs +++ b/sdk/dotnet/Fabric/GetConnection.cs @@ -12,7 +12,7 @@ namespace Pulumi.Equinix.Fabric public static class GetConnection { /// - /// 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 @@ -58,7 +58,7 @@ public static Task InvokeAsync(GetConnectionArgs args, Invo => global::Pulumi.Deployment.Instance.InvokeAsync("equinix:fabric/getConnection:getConnection", args ?? new GetConnectionArgs(), options.WithDefaults()); /// - /// 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 @@ -206,7 +206,7 @@ public sealed class GetConnectionResult /// public readonly string State; /// - /// 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 /// public readonly string Type; /// diff --git a/sdk/dotnet/Fabric/GetMarketplaceSubscription.cs b/sdk/dotnet/Fabric/GetMarketplaceSubscription.cs new file mode 100644 index 00000000..77d815b8 --- /dev/null +++ b/sdk/dotnet/Fabric/GetMarketplaceSubscription.cs @@ -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 + { + /// + /// 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(() => + /// { + /// var subscription_test = Equinix.Fabric.GetMarketplaceSubscription.Invoke(new() + /// { + /// Uuid = "<uuid_of_marketplace_subscription>", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["id"] = subscription_test.Apply(subscription_test => subscription_test.Apply(getMarketplaceSubscriptionResult => getMarketplaceSubscriptionResult.Id)), + /// ["status"] = subscription_test.Apply(subscription_test => subscription_test.Apply(getMarketplaceSubscriptionResult => getMarketplaceSubscriptionResult.Status)), + /// ["marketplace"] = subscription_test.Apply(subscription_test => subscription_test.Apply(getMarketplaceSubscriptionResult => getMarketplaceSubscriptionResult.Marketplace)), + /// ["offerType"] = subscription_test.Apply(subscription_test => subscription_test.Apply(getMarketplaceSubscriptionResult => getMarketplaceSubscriptionResult.OfferType)), + /// ["isAutoRenew"] = subscription_test.Apply(subscription_test => subscription_test.Apply(getMarketplaceSubscriptionResult => getMarketplaceSubscriptionResult.IsAutoRenew)), + /// }; + /// }); + /// ``` + /// + public static Task InvokeAsync(GetMarketplaceSubscriptionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("equinix:fabric/getMarketplaceSubscription:getMarketplaceSubscription", args ?? new GetMarketplaceSubscriptionArgs(), options.WithDefaults()); + + /// + /// 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(() => + /// { + /// var subscription_test = Equinix.Fabric.GetMarketplaceSubscription.Invoke(new() + /// { + /// Uuid = "<uuid_of_marketplace_subscription>", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["id"] = subscription_test.Apply(subscription_test => subscription_test.Apply(getMarketplaceSubscriptionResult => getMarketplaceSubscriptionResult.Id)), + /// ["status"] = subscription_test.Apply(subscription_test => subscription_test.Apply(getMarketplaceSubscriptionResult => getMarketplaceSubscriptionResult.Status)), + /// ["marketplace"] = subscription_test.Apply(subscription_test => subscription_test.Apply(getMarketplaceSubscriptionResult => getMarketplaceSubscriptionResult.Marketplace)), + /// ["offerType"] = subscription_test.Apply(subscription_test => subscription_test.Apply(getMarketplaceSubscriptionResult => getMarketplaceSubscriptionResult.OfferType)), + /// ["isAutoRenew"] = subscription_test.Apply(subscription_test => subscription_test.Apply(getMarketplaceSubscriptionResult => getMarketplaceSubscriptionResult.IsAutoRenew)), + /// }; + /// }); + /// ``` + /// + public static Output Invoke(GetMarketplaceSubscriptionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("equinix:fabric/getMarketplaceSubscription:getMarketplaceSubscription", args ?? new GetMarketplaceSubscriptionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMarketplaceSubscriptionArgs : global::Pulumi.InvokeArgs + { + /// + /// Equinix-assigned marketplace identifier + /// + [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 + { + /// + /// Equinix-assigned marketplace identifier + /// + [Input("uuid", required: true)] + public Input Uuid { get; set; } = null!; + + public GetMarketplaceSubscriptionInvokeArgs() + { + } + public static new GetMarketplaceSubscriptionInvokeArgs Empty => new GetMarketplaceSubscriptionInvokeArgs(); + } + + + [OutputType] + public sealed class GetMarketplaceSubscriptionResult + { + /// + /// Subscription entitlements + /// + public readonly ImmutableArray Entitlements; + /// + /// Subscription URI information + /// + public readonly string Href; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Information about subscription auto renewal + /// + public readonly bool IsAutoRenew; + /// + /// Marketplace like; AWS, GCP, AZURE, REDHAT + /// + public readonly string Marketplace; + /// + /// Marketplace Offer Type like; PUBLIC, PRIVATE_OFFER + /// + public readonly string OfferType; + /// + /// Subscription Status like; ACTIVE, EXPIRED, CANCELLED, GRACE_PERIOD + /// + public readonly string Status; + /// + /// Subscription Trial + /// + public readonly Outputs.GetMarketplaceSubscriptionTrialResult Trial; + /// + /// Equinix-assigned marketplace identifier + /// + public readonly string Uuid; + + [OutputConstructor] + private GetMarketplaceSubscriptionResult( + ImmutableArray 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; + } + } +} diff --git a/sdk/dotnet/Fabric/GetServiceProfile.cs b/sdk/dotnet/Fabric/GetServiceProfile.cs index 9580844b..06f5277b 100644 --- a/sdk/dotnet/Fabric/GetServiceProfile.cs +++ b/sdk/dotnet/Fabric/GetServiceProfile.cs @@ -186,7 +186,7 @@ public sealed class GetServiceProfileResult /// public readonly Outputs.GetServiceProfileProjectResult Project; /// - /// 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 /// public readonly bool SelfProfile; /// @@ -198,13 +198,16 @@ public sealed class GetServiceProfileResult /// public readonly ImmutableArray Tags; /// - /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE /// public readonly string Type; /// /// Equinix assigned service profile identifier /// public readonly string Uuid; + /// + /// Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide + /// public readonly string ViewPoint; /// /// Virtual Devices diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterAccountArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterAccountArgs.cs index 1dbf86cf..d584644a 100644 --- a/sdk/dotnet/Fabric/Inputs/CloudRouterAccountArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterAccountArgs.cs @@ -15,8 +15,8 @@ public sealed class CloudRouterAccountArgs : global::Pulumi.ResourceArgs /// /// Account Number /// - [Input("accountNumber")] - public Input? AccountNumber { get; set; } + [Input("accountNumber", required: true)] + public Input AccountNumber { get; set; } = null!; public CloudRouterAccountArgs() { diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterAccountGetArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterAccountGetArgs.cs index de708763..d3cd4366 100644 --- a/sdk/dotnet/Fabric/Inputs/CloudRouterAccountGetArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterAccountGetArgs.cs @@ -15,8 +15,8 @@ public sealed class CloudRouterAccountGetArgs : global::Pulumi.ResourceArgs /// /// Account Number /// - [Input("accountNumber")] - public Input? AccountNumber { get; set; } + [Input("accountNumber", required: true)] + public Input AccountNumber { get; set; } = null!; public CloudRouterAccountGetArgs() { diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterMarketplaceSubscriptionArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterMarketplaceSubscriptionArgs.cs new file mode 100644 index 00000000..f94c7adc --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterMarketplaceSubscriptionArgs.cs @@ -0,0 +1,32 @@ +// *** 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.Inputs +{ + + public sealed class CloudRouterMarketplaceSubscriptionArgs : global::Pulumi.ResourceArgs + { + /// + /// Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + /// + [Input("type")] + public Input? Type { get; set; } + + /// + /// Equinix-assigned Marketplace Subscription identifier + /// + [Input("uuid", required: true)] + public Input Uuid { get; set; } = null!; + + public CloudRouterMarketplaceSubscriptionArgs() + { + } + public static new CloudRouterMarketplaceSubscriptionArgs Empty => new CloudRouterMarketplaceSubscriptionArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/CloudRouterMarketplaceSubscriptionGetArgs.cs b/sdk/dotnet/Fabric/Inputs/CloudRouterMarketplaceSubscriptionGetArgs.cs new file mode 100644 index 00000000..87b7e256 --- /dev/null +++ b/sdk/dotnet/Fabric/Inputs/CloudRouterMarketplaceSubscriptionGetArgs.cs @@ -0,0 +1,32 @@ +// *** 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.Inputs +{ + + public sealed class CloudRouterMarketplaceSubscriptionGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + /// + [Input("type")] + public Input? Type { get; set; } + + /// + /// Equinix-assigned Marketplace Subscription identifier + /// + [Input("uuid", required: true)] + public Input Uuid { get; set; } = null!; + + public CloudRouterMarketplaceSubscriptionGetArgs() + { + } + public static new CloudRouterMarketplaceSubscriptionGetArgs Empty => new CloudRouterMarketplaceSubscriptionGetArgs(); + } +} diff --git a/sdk/dotnet/Fabric/Inputs/GetConnectionsFilter.cs b/sdk/dotnet/Fabric/Inputs/GetConnectionsFilter.cs index 5756e17a..9ed6c28c 100644 --- a/sdk/dotnet/Fabric/Inputs/GetConnectionsFilter.cs +++ b/sdk/dotnet/Fabric/Inputs/GetConnectionsFilter.cs @@ -25,7 +25,7 @@ public sealed class GetConnectionsFilterArgs : global::Pulumi.InvokeArgs public string Operator { get; set; } = null!; /// - /// Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + /// Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] /// [Input("property", required: true)] public string Property { get; set; } = null!; diff --git a/sdk/dotnet/Fabric/Inputs/GetConnectionsFilterArgs.cs b/sdk/dotnet/Fabric/Inputs/GetConnectionsFilterArgs.cs index fd12afff..c6e0c45f 100644 --- a/sdk/dotnet/Fabric/Inputs/GetConnectionsFilterArgs.cs +++ b/sdk/dotnet/Fabric/Inputs/GetConnectionsFilterArgs.cs @@ -25,7 +25,7 @@ public sealed class GetConnectionsFilterInputArgs : global::Pulumi.ResourceArgs public Input Operator { get; set; } = null!; /// - /// Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + /// Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] /// [Input("property", required: true)] public Input Property { get; set; } = null!; diff --git a/sdk/dotnet/Fabric/Outputs/CloudRouterAccount.cs b/sdk/dotnet/Fabric/Outputs/CloudRouterAccount.cs index 95c459cc..f34886b3 100644 --- a/sdk/dotnet/Fabric/Outputs/CloudRouterAccount.cs +++ b/sdk/dotnet/Fabric/Outputs/CloudRouterAccount.cs @@ -16,10 +16,10 @@ public sealed class CloudRouterAccount /// /// Account Number /// - public readonly int? AccountNumber; + public readonly int AccountNumber; [OutputConstructor] - private CloudRouterAccount(int? accountNumber) + private CloudRouterAccount(int accountNumber) { AccountNumber = accountNumber; } diff --git a/sdk/dotnet/Fabric/Outputs/CloudRouterMarketplaceSubscription.cs b/sdk/dotnet/Fabric/Outputs/CloudRouterMarketplaceSubscription.cs new file mode 100644 index 00000000..8a244df3 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/CloudRouterMarketplaceSubscription.cs @@ -0,0 +1,35 @@ +// *** 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.Outputs +{ + + [OutputType] + public sealed class CloudRouterMarketplaceSubscription + { + /// + /// Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + /// + public readonly string? Type; + /// + /// Equinix-assigned Marketplace Subscription identifier + /// + public readonly string Uuid; + + [OutputConstructor] + private CloudRouterMarketplaceSubscription( + string? type, + + string uuid) + { + Type = type; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetCloudRouterMarketplaceSubscriptionResult.cs b/sdk/dotnet/Fabric/Outputs/GetCloudRouterMarketplaceSubscriptionResult.cs new file mode 100644 index 00000000..7cf6555c --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetCloudRouterMarketplaceSubscriptionResult.cs @@ -0,0 +1,35 @@ +// *** 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.Outputs +{ + + [OutputType] + public sealed class GetCloudRouterMarketplaceSubscriptionResult + { + /// + /// Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + /// + public readonly string Type; + /// + /// Equinix-assigned Marketplace Subscription identifier + /// + public readonly string Uuid; + + [OutputConstructor] + private GetCloudRouterMarketplaceSubscriptionResult( + string type, + + string uuid) + { + Type = type; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetCloudRoutersDataMarketplaceSubscriptionResult.cs b/sdk/dotnet/Fabric/Outputs/GetCloudRoutersDataMarketplaceSubscriptionResult.cs new file mode 100644 index 00000000..4775494e --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetCloudRoutersDataMarketplaceSubscriptionResult.cs @@ -0,0 +1,35 @@ +// *** 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.Outputs +{ + + [OutputType] + public sealed class GetCloudRoutersDataMarketplaceSubscriptionResult + { + /// + /// Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + /// + public readonly string Type; + /// + /// Equinix-assigned Marketplace Subscription identifier + /// + public readonly string Uuid; + + [OutputConstructor] + private GetCloudRoutersDataMarketplaceSubscriptionResult( + string type, + + string uuid) + { + Type = type; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetCloudRoutersDataResult.cs b/sdk/dotnet/Fabric/Outputs/GetCloudRoutersDataResult.cs index cae6b0e3..fc5359b2 100644 --- a/sdk/dotnet/Fabric/Outputs/GetCloudRoutersDataResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetCloudRoutersDataResult.cs @@ -58,6 +58,10 @@ public sealed class GetCloudRoutersDataResult /// public readonly ImmutableArray Locations; /// + /// Equinix Fabric Entity for Marketplace Subscription + /// + public readonly ImmutableArray MarketplaceSubscriptions; + /// /// Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores /// public readonly string Name; @@ -114,6 +118,8 @@ private GetCloudRoutersDataResult( ImmutableArray locations, + ImmutableArray marketplaceSubscriptions, + string name, ImmutableArray notifications, @@ -141,6 +147,7 @@ private GetCloudRoutersDataResult( EquinixAsn = equinixAsn; Href = href; Locations = locations; + MarketplaceSubscriptions = marketplaceSubscriptions; Name = name; Notifications = notifications; Orders = orders; diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigResult.cs index cda08193..e382b090 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigResult.cs @@ -14,11 +14,11 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class GetConnectionASideAccessPointProfileAccessPointTypeConfigResult { /// - /// Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + /// Type of access point type config - VD, COLO /// public readonly string Type; /// - /// Equinix-assigned connection identifier + /// Equinix-assigned access point type config identifier /// public readonly string Uuid; diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult.cs index 89d56513..37322608 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult.cs @@ -14,11 +14,11 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class GetConnectionZSideAccessPointProfileAccessPointTypeConfigResult { /// - /// Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + /// Type of access point type config - VD, COLO /// public readonly string Type; /// - /// Equinix-assigned connection identifier + /// Equinix-assigned access point type config identifier /// public readonly string Uuid; diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionsDataASideAccessPointInterfaceResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionsDataASideAccessPointInterfaceResult.cs index 3eeadc70..f4a4e3df 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionsDataASideAccessPointInterfaceResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionsDataASideAccessPointInterfaceResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class GetConnectionsDataASideAccessPointInterfaceResult { /// - /// The ID of this resource. + /// id /// public readonly int Id; /// diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionsDataZSideAccessPointInterfaceResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionsDataZSideAccessPointInterfaceResult.cs index 65afa0b6..f320e9bd 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionsDataZSideAccessPointInterfaceResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionsDataZSideAccessPointInterfaceResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Equinix.Fabric.Outputs public sealed class GetConnectionsDataZSideAccessPointInterfaceResult { /// - /// The ID of this resource. + /// id /// public readonly int Id; /// diff --git a/sdk/dotnet/Fabric/Outputs/GetConnectionsFilterResult.cs b/sdk/dotnet/Fabric/Outputs/GetConnectionsFilterResult.cs index 7985db57..0b230c90 100644 --- a/sdk/dotnet/Fabric/Outputs/GetConnectionsFilterResult.cs +++ b/sdk/dotnet/Fabric/Outputs/GetConnectionsFilterResult.cs @@ -22,7 +22,7 @@ public sealed class GetConnectionsFilterResult /// public readonly string Operator; /// - /// Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + /// Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] /// public readonly string Property; /// diff --git a/sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionEntitlementAssetPackageResult.cs b/sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionEntitlementAssetPackageResult.cs new file mode 100644 index 00000000..7fa133e7 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionEntitlementAssetPackageResult.cs @@ -0,0 +1,27 @@ +// *** 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.Outputs +{ + + [OutputType] + public sealed class GetMarketplaceSubscriptionEntitlementAssetPackageResult + { + /// + /// Cloud Router package code + /// + public readonly string Code; + + [OutputConstructor] + private GetMarketplaceSubscriptionEntitlementAssetPackageResult(string code) + { + Code = code; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionEntitlementAssetResult.cs b/sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionEntitlementAssetResult.cs new file mode 100644 index 00000000..1cd5831b --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionEntitlementAssetResult.cs @@ -0,0 +1,35 @@ +// *** 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.Outputs +{ + + [OutputType] + public sealed class GetMarketplaceSubscriptionEntitlementAssetResult + { + /// + /// Fabric Cloud Router Package Type + /// + public readonly ImmutableArray Packages; + /// + /// Defines the FCR type like; XF_ROUTER + /// + public readonly string Type; + + [OutputConstructor] + private GetMarketplaceSubscriptionEntitlementAssetResult( + ImmutableArray packages, + + string type) + { + Packages = packages; + Type = type; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionEntitlementResult.cs b/sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionEntitlementResult.cs new file mode 100644 index 00000000..0ce12f34 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionEntitlementResult.cs @@ -0,0 +1,56 @@ +// *** 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.Outputs +{ + + [OutputType] + public sealed class GetMarketplaceSubscriptionEntitlementResult + { + /// + /// Asset information + /// + public readonly ImmutableArray Assets; + /// + /// Available Quantity + /// + public readonly int QuantityAvailable; + /// + /// Consumed Quantity + /// + public readonly int QuantityConsumed; + /// + /// Entitled Quantity + /// + public readonly int QuantityEntitled; + /// + /// Subscription Entitlement Id + /// + public readonly string Uuid; + + [OutputConstructor] + private GetMarketplaceSubscriptionEntitlementResult( + ImmutableArray assets, + + int quantityAvailable, + + int quantityConsumed, + + int quantityEntitled, + + string uuid) + { + Assets = assets; + QuantityAvailable = quantityAvailable; + QuantityConsumed = quantityConsumed; + QuantityEntitled = quantityEntitled; + Uuid = uuid; + } + } +} diff --git a/sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionTrialResult.cs b/sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionTrialResult.cs new file mode 100644 index 00000000..573a89f0 --- /dev/null +++ b/sdk/dotnet/Fabric/Outputs/GetMarketplaceSubscriptionTrialResult.cs @@ -0,0 +1,27 @@ +// *** 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.Outputs +{ + + [OutputType] + public sealed class GetMarketplaceSubscriptionTrialResult + { + /// + /// Marketplace Subscription Trial Enabled + /// + public readonly bool Enabled; + + [OutputConstructor] + private GetMarketplaceSubscriptionTrialResult(bool enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/Fabric/ServiceProfile.cs b/sdk/dotnet/Fabric/ServiceProfile.cs index 69490807..36c54194 100644 --- a/sdk/dotnet/Fabric/ServiceProfile.cs +++ b/sdk/dotnet/Fabric/ServiceProfile.cs @@ -160,7 +160,7 @@ public partial class ServiceProfile : global::Pulumi.CustomResource public Output Project { get; private set; } = null!; /// - /// 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 /// [Output("selfProfile")] public Output SelfProfile { get; private set; } = null!; @@ -178,7 +178,7 @@ public partial class ServiceProfile : global::Pulumi.CustomResource public Output> Tags { get; private set; } = null!; /// - /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE /// [Output("type")] public Output Type { get; private set; } = null!; @@ -351,7 +351,7 @@ public InputList Ports public Input? Project { get; set; } /// - /// 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 /// [Input("selfProfile")] public Input? SelfProfile { get; set; } @@ -375,7 +375,7 @@ public InputList Tags } /// - /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE /// [Input("type", required: true)] public InputUnion Type { get; set; } = null!; @@ -527,7 +527,7 @@ public InputList Ports public Input? Project { get; set; } /// - /// 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 /// [Input("selfProfile")] public Input? SelfProfile { get; set; } @@ -551,7 +551,7 @@ public InputList Tags } /// - /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + /// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE /// [Input("type")] public InputUnion? Type { get; set; } diff --git a/sdk/go/equinix/fabric/cloudRouter.go b/sdk/go/equinix/fabric/cloudRouter.go index 86385dab..13821629 100644 --- a/sdk/go/equinix/fabric/cloudRouter.go +++ b/sdk/go/equinix/fabric/cloudRouter.go @@ -20,6 +20,7 @@ import ( // * API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#fabric-cloud-routers // // ## Example Usage +// ### example 1 // ```go // package main // @@ -68,6 +69,56 @@ import ( // } // // ``` +// ### example 2 +// ```go +// package main +// +// import ( +// +// "github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := fabric.NewCloudRouter(ctx, "newCloudRouter", &fabric.CloudRouterArgs{ +// Name: pulumi.String("Router-SV"), +// Type: pulumi.String("XF_ROUTER"), +// Notifications: fabric.CloudRouterNotificationArray{ +// &fabric.CloudRouterNotificationArgs{ +// Type: pulumi.String("ALL"), +// Emails: pulumi.StringArray{ +// pulumi.String("example@equinix.com"), +// pulumi.String("test1@equinix.com"), +// }, +// }, +// }, +// Order: &fabric.CloudRouterOrderArgs{ +// PurchaseOrderNumber: pulumi.String("1-323292"), +// }, +// Location: &fabric.CloudRouterLocationArgs{ +// MetroCode: pulumi.String("SV"), +// }, +// Package: &fabric.CloudRouterPackageArgs{ +// Code: pulumi.String("STANDARD"), +// }, +// Project: &fabric.CloudRouterProjectArgs{ +// ProjectId: pulumi.String("776847000642406"), +// }, +// MarketplaceSubscription: &fabric.CloudRouterMarketplaceSubscriptionArgs{ +// Type: pulumi.String("AWS_MARKETPLACE_SUBSCRIPTION"), +// Uuid: pulumi.String("2823b8ae07-a2a2-45b4-a658-c3542bb24e9"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` type CloudRouter struct { pulumi.CustomResourceState @@ -93,6 +144,8 @@ type CloudRouter struct { Href pulumi.StringOutput `pulumi:"href"` // Fabric Cloud Router location Location CloudRouterLocationOutput `pulumi:"location"` + // Equinix Fabric Entity for Marketplace Subscription + MarketplaceSubscription CloudRouterMarketplaceSubscriptionOutput `pulumi:"marketplaceSubscription"` // Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores Name pulumi.StringOutput `pulumi:"name"` // Preferences for notifications on Fabric Cloud Router configuration or status changes @@ -118,9 +171,6 @@ func NewCloudRouter(ctx *pulumi.Context, return nil, errors.New("missing one or more required arguments") } - if args.Account == nil { - return nil, errors.New("invalid value for required argument 'Account'") - } if args.Location == nil { return nil, errors.New("invalid value for required argument 'Location'") } @@ -181,6 +231,8 @@ type cloudRouterState struct { Href *string `pulumi:"href"` // Fabric Cloud Router location Location *CloudRouterLocation `pulumi:"location"` + // Equinix Fabric Entity for Marketplace Subscription + MarketplaceSubscription *CloudRouterMarketplaceSubscription `pulumi:"marketplaceSubscription"` // Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores Name *string `pulumi:"name"` // Preferences for notifications on Fabric Cloud Router configuration or status changes @@ -222,6 +274,8 @@ type CloudRouterState struct { Href pulumi.StringPtrInput // Fabric Cloud Router location Location CloudRouterLocationPtrInput + // Equinix Fabric Entity for Marketplace Subscription + MarketplaceSubscription CloudRouterMarketplaceSubscriptionPtrInput // Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores Name pulumi.StringPtrInput // Preferences for notifications on Fabric Cloud Router configuration or status changes @@ -246,13 +300,15 @@ func (CloudRouterState) ElementType() reflect.Type { type cloudRouterArgs struct { // Customer account information that is associated with this Fabric Cloud Router - Account CloudRouterAccount `pulumi:"account"` + Account *CloudRouterAccount `pulumi:"account"` // Customer-provided Fabric Cloud Router description Description *string `pulumi:"description"` // Fabric Cloud Router URI information Href *string `pulumi:"href"` // Fabric Cloud Router location Location CloudRouterLocation `pulumi:"location"` + // Equinix Fabric Entity for Marketplace Subscription + MarketplaceSubscription *CloudRouterMarketplaceSubscription `pulumi:"marketplaceSubscription"` // Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores Name *string `pulumi:"name"` // Preferences for notifications on Fabric Cloud Router configuration or status changes @@ -272,13 +328,15 @@ type cloudRouterArgs struct { // The set of arguments for constructing a CloudRouter resource. type CloudRouterArgs struct { // Customer account information that is associated with this Fabric Cloud Router - Account CloudRouterAccountInput + Account CloudRouterAccountPtrInput // Customer-provided Fabric Cloud Router description Description pulumi.StringPtrInput // Fabric Cloud Router URI information Href pulumi.StringPtrInput // Fabric Cloud Router location Location CloudRouterLocationInput + // Equinix Fabric Entity for Marketplace Subscription + MarketplaceSubscription CloudRouterMarketplaceSubscriptionPtrInput // Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores Name pulumi.StringPtrInput // Preferences for notifications on Fabric Cloud Router configuration or status changes @@ -437,6 +495,11 @@ func (o CloudRouterOutput) Location() CloudRouterLocationOutput { return o.ApplyT(func(v *CloudRouter) CloudRouterLocationOutput { return v.Location }).(CloudRouterLocationOutput) } +// Equinix Fabric Entity for Marketplace Subscription +func (o CloudRouterOutput) MarketplaceSubscription() CloudRouterMarketplaceSubscriptionOutput { + return o.ApplyT(func(v *CloudRouter) CloudRouterMarketplaceSubscriptionOutput { return v.MarketplaceSubscription }).(CloudRouterMarketplaceSubscriptionOutput) +} + // Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores func (o CloudRouterOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *CloudRouter) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/equinix/fabric/getCloudRouter.go b/sdk/go/equinix/fabric/getCloudRouter.go index bac6e49d..0d9ade0c 100644 --- a/sdk/go/equinix/fabric/getCloudRouter.go +++ b/sdk/go/equinix/fabric/getCloudRouter.go @@ -94,6 +94,8 @@ type LookupCloudRouterResult struct { Id string `pulumi:"id"` // Fabric Cloud Router location Locations []GetCloudRouterLocation `pulumi:"locations"` + // Equinix Fabric Entity for Marketplace Subscription + MarketplaceSubscriptions []GetCloudRouterMarketplaceSubscription `pulumi:"marketplaceSubscriptions"` // Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores Name string `pulumi:"name"` // Preferences for notifications on Fabric Cloud Router configuration or status changes @@ -102,7 +104,7 @@ type LookupCloudRouterResult struct { Orders []GetCloudRouterOrder `pulumi:"orders"` // Fabric Cloud Router Package Type Packages []GetCloudRouterPackage `pulumi:"packages"` - // 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 Projects []GetCloudRouterProject `pulumi:"projects"` // Fabric Cloud Router overall state State string `pulumi:"state"` @@ -210,6 +212,13 @@ func (o LookupCloudRouterResultOutput) Locations() GetCloudRouterLocationArrayOu return o.ApplyT(func(v LookupCloudRouterResult) []GetCloudRouterLocation { return v.Locations }).(GetCloudRouterLocationArrayOutput) } +// Equinix Fabric Entity for Marketplace Subscription +func (o LookupCloudRouterResultOutput) MarketplaceSubscriptions() GetCloudRouterMarketplaceSubscriptionArrayOutput { + return o.ApplyT(func(v LookupCloudRouterResult) []GetCloudRouterMarketplaceSubscription { + return v.MarketplaceSubscriptions + }).(GetCloudRouterMarketplaceSubscriptionArrayOutput) +} + // Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores func (o LookupCloudRouterResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupCloudRouterResult) string { return v.Name }).(pulumi.StringOutput) @@ -230,7 +239,7 @@ func (o LookupCloudRouterResultOutput) Packages() GetCloudRouterPackageArrayOutp return o.ApplyT(func(v LookupCloudRouterResult) []GetCloudRouterPackage { return v.Packages }).(GetCloudRouterPackageArrayOutput) } -// 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 func (o LookupCloudRouterResultOutput) Projects() GetCloudRouterProjectArrayOutput { return o.ApplyT(func(v LookupCloudRouterResult) []GetCloudRouterProject { return v.Projects }).(GetCloudRouterProjectArrayOutput) } diff --git a/sdk/go/equinix/fabric/getConnection.go b/sdk/go/equinix/fabric/getConnection.go index c55c5f75..20ee2946 100644 --- a/sdk/go/equinix/fabric/getConnection.go +++ b/sdk/go/equinix/fabric/getConnection.go @@ -109,7 +109,7 @@ type LookupConnectionResult struct { Redundancy GetConnectionRedundancy `pulumi:"redundancy"` // Connection overall state State string `pulumi:"state"` - // 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 Type string `pulumi:"type"` // Equinix-assigned connection identifier Uuid string `pulumi:"uuid"` @@ -240,7 +240,7 @@ func (o LookupConnectionResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.State }).(pulumi.StringOutput) } -// 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 func (o LookupConnectionResultOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v LookupConnectionResult) string { return v.Type }).(pulumi.StringOutput) } diff --git a/sdk/go/equinix/fabric/getMarketplaceSubscription.go b/sdk/go/equinix/fabric/getMarketplaceSubscription.go new file mode 100644 index 00000000..4783b9f4 --- /dev/null +++ b/sdk/go/equinix/fabric/getMarketplaceSubscription.go @@ -0,0 +1,171 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package fabric + +import ( + "context" + "reflect" + + "github.com/equinix/pulumi-equinix/sdk/go/equinix/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Fabric V4 API compatible data resource that allow user to fetch Marketplace Subscription detail for a given UUID +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/equinix/pulumi-equinix/sdk/go/equinix/fabric" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// subscription_test, err := fabric.GetMarketplaceSubscription(ctx, &fabric.GetMarketplaceSubscriptionArgs{ +// Uuid: "", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("id", subscription_test.Id) +// ctx.Export("status", subscription_test.Status) +// ctx.Export("marketplace", subscription_test.Marketplace) +// ctx.Export("offerType", subscription_test.OfferType) +// ctx.Export("isAutoRenew", subscription_test.IsAutoRenew) +// return nil +// }) +// } +// +// ``` +func GetMarketplaceSubscription(ctx *pulumi.Context, args *GetMarketplaceSubscriptionArgs, opts ...pulumi.InvokeOption) (*GetMarketplaceSubscriptionResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetMarketplaceSubscriptionResult + err := ctx.Invoke("equinix:fabric/getMarketplaceSubscription:getMarketplaceSubscription", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMarketplaceSubscription. +type GetMarketplaceSubscriptionArgs struct { + // Equinix-assigned marketplace identifier + Uuid string `pulumi:"uuid"` +} + +// A collection of values returned by getMarketplaceSubscription. +type GetMarketplaceSubscriptionResult struct { + // Subscription entitlements + Entitlements []GetMarketplaceSubscriptionEntitlement `pulumi:"entitlements"` + // Subscription URI information + Href string `pulumi:"href"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Information about subscription auto renewal + IsAutoRenew bool `pulumi:"isAutoRenew"` + // Marketplace like; AWS, GCP, AZURE, REDHAT + Marketplace string `pulumi:"marketplace"` + // Marketplace Offer Type like; PUBLIC, PRIVATE_OFFER + OfferType string `pulumi:"offerType"` + // Subscription Status like; ACTIVE, EXPIRED, CANCELLED, GRACE_PERIOD + Status string `pulumi:"status"` + // Subscription Trial + Trial GetMarketplaceSubscriptionTrial `pulumi:"trial"` + // Equinix-assigned marketplace identifier + Uuid string `pulumi:"uuid"` +} + +func GetMarketplaceSubscriptionOutput(ctx *pulumi.Context, args GetMarketplaceSubscriptionOutputArgs, opts ...pulumi.InvokeOption) GetMarketplaceSubscriptionResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetMarketplaceSubscriptionResult, error) { + args := v.(GetMarketplaceSubscriptionArgs) + r, err := GetMarketplaceSubscription(ctx, &args, opts...) + var s GetMarketplaceSubscriptionResult + if r != nil { + s = *r + } + return s, err + }).(GetMarketplaceSubscriptionResultOutput) +} + +// A collection of arguments for invoking getMarketplaceSubscription. +type GetMarketplaceSubscriptionOutputArgs struct { + // Equinix-assigned marketplace identifier + Uuid pulumi.StringInput `pulumi:"uuid"` +} + +func (GetMarketplaceSubscriptionOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMarketplaceSubscriptionArgs)(nil)).Elem() +} + +// A collection of values returned by getMarketplaceSubscription. +type GetMarketplaceSubscriptionResultOutput struct{ *pulumi.OutputState } + +func (GetMarketplaceSubscriptionResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMarketplaceSubscriptionResult)(nil)).Elem() +} + +func (o GetMarketplaceSubscriptionResultOutput) ToGetMarketplaceSubscriptionResultOutput() GetMarketplaceSubscriptionResultOutput { + return o +} + +func (o GetMarketplaceSubscriptionResultOutput) ToGetMarketplaceSubscriptionResultOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionResultOutput { + return o +} + +// Subscription entitlements +func (o GetMarketplaceSubscriptionResultOutput) Entitlements() GetMarketplaceSubscriptionEntitlementArrayOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionResult) []GetMarketplaceSubscriptionEntitlement { + return v.Entitlements + }).(GetMarketplaceSubscriptionEntitlementArrayOutput) +} + +// Subscription URI information +func (o GetMarketplaceSubscriptionResultOutput) Href() pulumi.StringOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionResult) string { return v.Href }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetMarketplaceSubscriptionResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Information about subscription auto renewal +func (o GetMarketplaceSubscriptionResultOutput) IsAutoRenew() pulumi.BoolOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionResult) bool { return v.IsAutoRenew }).(pulumi.BoolOutput) +} + +// Marketplace like; AWS, GCP, AZURE, REDHAT +func (o GetMarketplaceSubscriptionResultOutput) Marketplace() pulumi.StringOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionResult) string { return v.Marketplace }).(pulumi.StringOutput) +} + +// Marketplace Offer Type like; PUBLIC, PRIVATE_OFFER +func (o GetMarketplaceSubscriptionResultOutput) OfferType() pulumi.StringOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionResult) string { return v.OfferType }).(pulumi.StringOutput) +} + +// Subscription Status like; ACTIVE, EXPIRED, CANCELLED, GRACE_PERIOD +func (o GetMarketplaceSubscriptionResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionResult) string { return v.Status }).(pulumi.StringOutput) +} + +// Subscription Trial +func (o GetMarketplaceSubscriptionResultOutput) Trial() GetMarketplaceSubscriptionTrialOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionResult) GetMarketplaceSubscriptionTrial { return v.Trial }).(GetMarketplaceSubscriptionTrialOutput) +} + +// Equinix-assigned marketplace identifier +func (o GetMarketplaceSubscriptionResultOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionResult) string { return v.Uuid }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMarketplaceSubscriptionResultOutput{}) +} diff --git a/sdk/go/equinix/fabric/getServiceProfile.go b/sdk/go/equinix/fabric/getServiceProfile.go index f0a142b7..e2be27a5 100644 --- a/sdk/go/equinix/fabric/getServiceProfile.go +++ b/sdk/go/equinix/fabric/getServiceProfile.go @@ -99,16 +99,17 @@ type LookupServiceProfileResult struct { Ports []GetServiceProfilePort `pulumi:"ports"` // Project information Project GetServiceProfileProject `pulumi:"project"` - // 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 SelfProfile bool `pulumi:"selfProfile"` // Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED State string `pulumi:"state"` // Tags attached to the connection Tags []string `pulumi:"tags"` - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE Type string `pulumi:"type"` // Equinix assigned service profile identifier - Uuid string `pulumi:"uuid"` + Uuid string `pulumi:"uuid"` + // Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide ViewPoint string `pulumi:"viewPoint"` // Virtual Devices VirtualDevices []GetServiceProfileVirtualDevice `pulumi:"virtualDevices"` @@ -226,7 +227,7 @@ func (o LookupServiceProfileResultOutput) Project() GetServiceProfileProjectOutp return o.ApplyT(func(v LookupServiceProfileResult) GetServiceProfileProject { return v.Project }).(GetServiceProfileProjectOutput) } -// 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 func (o LookupServiceProfileResultOutput) SelfProfile() pulumi.BoolOutput { return o.ApplyT(func(v LookupServiceProfileResult) bool { return v.SelfProfile }).(pulumi.BoolOutput) } @@ -241,7 +242,7 @@ func (o LookupServiceProfileResultOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupServiceProfileResult) []string { return v.Tags }).(pulumi.StringArrayOutput) } -// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE +// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE func (o LookupServiceProfileResultOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceProfileResult) string { return v.Type }).(pulumi.StringOutput) } @@ -251,6 +252,7 @@ func (o LookupServiceProfileResultOutput) Uuid() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceProfileResult) string { return v.Uuid }).(pulumi.StringOutput) } +// Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide func (o LookupServiceProfileResultOutput) ViewPoint() pulumi.StringOutput { return o.ApplyT(func(v LookupServiceProfileResult) string { return v.ViewPoint }).(pulumi.StringOutput) } diff --git a/sdk/go/equinix/fabric/pulumiTypes.go b/sdk/go/equinix/fabric/pulumiTypes.go index 95805ff0..3fda9115 100644 --- a/sdk/go/equinix/fabric/pulumiTypes.go +++ b/sdk/go/equinix/fabric/pulumiTypes.go @@ -15,7 +15,7 @@ var _ = internal.GetEnvOrDefault type CloudRouterAccount struct { // Account Number - AccountNumber *int `pulumi:"accountNumber"` + AccountNumber int `pulumi:"accountNumber"` } // CloudRouterAccountInput is an input type that accepts CloudRouterAccountArgs and CloudRouterAccountOutput values. @@ -31,7 +31,7 @@ type CloudRouterAccountInput interface { type CloudRouterAccountArgs struct { // Account Number - AccountNumber pulumi.IntPtrInput `pulumi:"accountNumber"` + AccountNumber pulumi.IntInput `pulumi:"accountNumber"` } func (CloudRouterAccountArgs) ElementType() reflect.Type { @@ -112,8 +112,8 @@ func (o CloudRouterAccountOutput) ToCloudRouterAccountPtrOutputWithContext(ctx c } // Account Number -func (o CloudRouterAccountOutput) AccountNumber() pulumi.IntPtrOutput { - return o.ApplyT(func(v CloudRouterAccount) *int { return v.AccountNumber }).(pulumi.IntPtrOutput) +func (o CloudRouterAccountOutput) AccountNumber() pulumi.IntOutput { + return o.ApplyT(func(v CloudRouterAccount) int { return v.AccountNumber }).(pulumi.IntOutput) } type CloudRouterAccountPtrOutput struct{ *pulumi.OutputState } @@ -146,7 +146,7 @@ func (o CloudRouterAccountPtrOutput) AccountNumber() pulumi.IntPtrOutput { if v == nil { return nil } - return v.AccountNumber + return &v.AccountNumber }).(pulumi.IntPtrOutput) } @@ -540,6 +540,162 @@ func (o CloudRouterLocationPtrOutput) Region() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +type CloudRouterMarketplaceSubscription struct { + // Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + Type *string `pulumi:"type"` + // Equinix-assigned Marketplace Subscription identifier + Uuid string `pulumi:"uuid"` +} + +// CloudRouterMarketplaceSubscriptionInput is an input type that accepts CloudRouterMarketplaceSubscriptionArgs and CloudRouterMarketplaceSubscriptionOutput values. +// You can construct a concrete instance of `CloudRouterMarketplaceSubscriptionInput` via: +// +// CloudRouterMarketplaceSubscriptionArgs{...} +type CloudRouterMarketplaceSubscriptionInput interface { + pulumi.Input + + ToCloudRouterMarketplaceSubscriptionOutput() CloudRouterMarketplaceSubscriptionOutput + ToCloudRouterMarketplaceSubscriptionOutputWithContext(context.Context) CloudRouterMarketplaceSubscriptionOutput +} + +type CloudRouterMarketplaceSubscriptionArgs struct { + // Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + Type pulumi.StringPtrInput `pulumi:"type"` + // Equinix-assigned Marketplace Subscription identifier + Uuid pulumi.StringInput `pulumi:"uuid"` +} + +func (CloudRouterMarketplaceSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterMarketplaceSubscription)(nil)).Elem() +} + +func (i CloudRouterMarketplaceSubscriptionArgs) ToCloudRouterMarketplaceSubscriptionOutput() CloudRouterMarketplaceSubscriptionOutput { + return i.ToCloudRouterMarketplaceSubscriptionOutputWithContext(context.Background()) +} + +func (i CloudRouterMarketplaceSubscriptionArgs) ToCloudRouterMarketplaceSubscriptionOutputWithContext(ctx context.Context) CloudRouterMarketplaceSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterMarketplaceSubscriptionOutput) +} + +func (i CloudRouterMarketplaceSubscriptionArgs) ToCloudRouterMarketplaceSubscriptionPtrOutput() CloudRouterMarketplaceSubscriptionPtrOutput { + return i.ToCloudRouterMarketplaceSubscriptionPtrOutputWithContext(context.Background()) +} + +func (i CloudRouterMarketplaceSubscriptionArgs) ToCloudRouterMarketplaceSubscriptionPtrOutputWithContext(ctx context.Context) CloudRouterMarketplaceSubscriptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterMarketplaceSubscriptionOutput).ToCloudRouterMarketplaceSubscriptionPtrOutputWithContext(ctx) +} + +// CloudRouterMarketplaceSubscriptionPtrInput is an input type that accepts CloudRouterMarketplaceSubscriptionArgs, CloudRouterMarketplaceSubscriptionPtr and CloudRouterMarketplaceSubscriptionPtrOutput values. +// You can construct a concrete instance of `CloudRouterMarketplaceSubscriptionPtrInput` via: +// +// CloudRouterMarketplaceSubscriptionArgs{...} +// +// or: +// +// nil +type CloudRouterMarketplaceSubscriptionPtrInput interface { + pulumi.Input + + ToCloudRouterMarketplaceSubscriptionPtrOutput() CloudRouterMarketplaceSubscriptionPtrOutput + ToCloudRouterMarketplaceSubscriptionPtrOutputWithContext(context.Context) CloudRouterMarketplaceSubscriptionPtrOutput +} + +type cloudRouterMarketplaceSubscriptionPtrType CloudRouterMarketplaceSubscriptionArgs + +func CloudRouterMarketplaceSubscriptionPtr(v *CloudRouterMarketplaceSubscriptionArgs) CloudRouterMarketplaceSubscriptionPtrInput { + return (*cloudRouterMarketplaceSubscriptionPtrType)(v) +} + +func (*cloudRouterMarketplaceSubscriptionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudRouterMarketplaceSubscription)(nil)).Elem() +} + +func (i *cloudRouterMarketplaceSubscriptionPtrType) ToCloudRouterMarketplaceSubscriptionPtrOutput() CloudRouterMarketplaceSubscriptionPtrOutput { + return i.ToCloudRouterMarketplaceSubscriptionPtrOutputWithContext(context.Background()) +} + +func (i *cloudRouterMarketplaceSubscriptionPtrType) ToCloudRouterMarketplaceSubscriptionPtrOutputWithContext(ctx context.Context) CloudRouterMarketplaceSubscriptionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudRouterMarketplaceSubscriptionPtrOutput) +} + +type CloudRouterMarketplaceSubscriptionOutput struct{ *pulumi.OutputState } + +func (CloudRouterMarketplaceSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudRouterMarketplaceSubscription)(nil)).Elem() +} + +func (o CloudRouterMarketplaceSubscriptionOutput) ToCloudRouterMarketplaceSubscriptionOutput() CloudRouterMarketplaceSubscriptionOutput { + return o +} + +func (o CloudRouterMarketplaceSubscriptionOutput) ToCloudRouterMarketplaceSubscriptionOutputWithContext(ctx context.Context) CloudRouterMarketplaceSubscriptionOutput { + return o +} + +func (o CloudRouterMarketplaceSubscriptionOutput) ToCloudRouterMarketplaceSubscriptionPtrOutput() CloudRouterMarketplaceSubscriptionPtrOutput { + return o.ToCloudRouterMarketplaceSubscriptionPtrOutputWithContext(context.Background()) +} + +func (o CloudRouterMarketplaceSubscriptionOutput) ToCloudRouterMarketplaceSubscriptionPtrOutputWithContext(ctx context.Context) CloudRouterMarketplaceSubscriptionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudRouterMarketplaceSubscription) *CloudRouterMarketplaceSubscription { + return &v + }).(CloudRouterMarketplaceSubscriptionPtrOutput) +} + +// Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION +func (o CloudRouterMarketplaceSubscriptionOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudRouterMarketplaceSubscription) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned Marketplace Subscription identifier +func (o CloudRouterMarketplaceSubscriptionOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v CloudRouterMarketplaceSubscription) string { return v.Uuid }).(pulumi.StringOutput) +} + +type CloudRouterMarketplaceSubscriptionPtrOutput struct{ *pulumi.OutputState } + +func (CloudRouterMarketplaceSubscriptionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudRouterMarketplaceSubscription)(nil)).Elem() +} + +func (o CloudRouterMarketplaceSubscriptionPtrOutput) ToCloudRouterMarketplaceSubscriptionPtrOutput() CloudRouterMarketplaceSubscriptionPtrOutput { + return o +} + +func (o CloudRouterMarketplaceSubscriptionPtrOutput) ToCloudRouterMarketplaceSubscriptionPtrOutputWithContext(ctx context.Context) CloudRouterMarketplaceSubscriptionPtrOutput { + return o +} + +func (o CloudRouterMarketplaceSubscriptionPtrOutput) Elem() CloudRouterMarketplaceSubscriptionOutput { + return o.ApplyT(func(v *CloudRouterMarketplaceSubscription) CloudRouterMarketplaceSubscription { + if v != nil { + return *v + } + var ret CloudRouterMarketplaceSubscription + return ret + }).(CloudRouterMarketplaceSubscriptionOutput) +} + +// Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION +func (o CloudRouterMarketplaceSubscriptionPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudRouterMarketplaceSubscription) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +// Equinix-assigned Marketplace Subscription identifier +func (o CloudRouterMarketplaceSubscriptionPtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudRouterMarketplaceSubscription) *string { + if v == nil { + return nil + } + return &v.Uuid + }).(pulumi.StringPtrOutput) +} + type CloudRouterNotification struct { // Array of contact emails Emails []string `pulumi:"emails"` @@ -14881,6 +15037,112 @@ func (o GetCloudRouterLocationArrayOutput) Index(i pulumi.IntInput) GetCloudRout }).(GetCloudRouterLocationOutput) } +type GetCloudRouterMarketplaceSubscription struct { + // Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + Type string `pulumi:"type"` + // Equinix-assigned Marketplace Subscription identifier + Uuid string `pulumi:"uuid"` +} + +// GetCloudRouterMarketplaceSubscriptionInput is an input type that accepts GetCloudRouterMarketplaceSubscriptionArgs and GetCloudRouterMarketplaceSubscriptionOutput values. +// You can construct a concrete instance of `GetCloudRouterMarketplaceSubscriptionInput` via: +// +// GetCloudRouterMarketplaceSubscriptionArgs{...} +type GetCloudRouterMarketplaceSubscriptionInput interface { + pulumi.Input + + ToGetCloudRouterMarketplaceSubscriptionOutput() GetCloudRouterMarketplaceSubscriptionOutput + ToGetCloudRouterMarketplaceSubscriptionOutputWithContext(context.Context) GetCloudRouterMarketplaceSubscriptionOutput +} + +type GetCloudRouterMarketplaceSubscriptionArgs struct { + // Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + Type pulumi.StringInput `pulumi:"type"` + // Equinix-assigned Marketplace Subscription identifier + Uuid pulumi.StringInput `pulumi:"uuid"` +} + +func (GetCloudRouterMarketplaceSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterMarketplaceSubscription)(nil)).Elem() +} + +func (i GetCloudRouterMarketplaceSubscriptionArgs) ToGetCloudRouterMarketplaceSubscriptionOutput() GetCloudRouterMarketplaceSubscriptionOutput { + return i.ToGetCloudRouterMarketplaceSubscriptionOutputWithContext(context.Background()) +} + +func (i GetCloudRouterMarketplaceSubscriptionArgs) ToGetCloudRouterMarketplaceSubscriptionOutputWithContext(ctx context.Context) GetCloudRouterMarketplaceSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterMarketplaceSubscriptionOutput) +} + +// GetCloudRouterMarketplaceSubscriptionArrayInput is an input type that accepts GetCloudRouterMarketplaceSubscriptionArray and GetCloudRouterMarketplaceSubscriptionArrayOutput values. +// You can construct a concrete instance of `GetCloudRouterMarketplaceSubscriptionArrayInput` via: +// +// GetCloudRouterMarketplaceSubscriptionArray{ GetCloudRouterMarketplaceSubscriptionArgs{...} } +type GetCloudRouterMarketplaceSubscriptionArrayInput interface { + pulumi.Input + + ToGetCloudRouterMarketplaceSubscriptionArrayOutput() GetCloudRouterMarketplaceSubscriptionArrayOutput + ToGetCloudRouterMarketplaceSubscriptionArrayOutputWithContext(context.Context) GetCloudRouterMarketplaceSubscriptionArrayOutput +} + +type GetCloudRouterMarketplaceSubscriptionArray []GetCloudRouterMarketplaceSubscriptionInput + +func (GetCloudRouterMarketplaceSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterMarketplaceSubscription)(nil)).Elem() +} + +func (i GetCloudRouterMarketplaceSubscriptionArray) ToGetCloudRouterMarketplaceSubscriptionArrayOutput() GetCloudRouterMarketplaceSubscriptionArrayOutput { + return i.ToGetCloudRouterMarketplaceSubscriptionArrayOutputWithContext(context.Background()) +} + +func (i GetCloudRouterMarketplaceSubscriptionArray) ToGetCloudRouterMarketplaceSubscriptionArrayOutputWithContext(ctx context.Context) GetCloudRouterMarketplaceSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRouterMarketplaceSubscriptionArrayOutput) +} + +type GetCloudRouterMarketplaceSubscriptionOutput struct{ *pulumi.OutputState } + +func (GetCloudRouterMarketplaceSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRouterMarketplaceSubscription)(nil)).Elem() +} + +func (o GetCloudRouterMarketplaceSubscriptionOutput) ToGetCloudRouterMarketplaceSubscriptionOutput() GetCloudRouterMarketplaceSubscriptionOutput { + return o +} + +func (o GetCloudRouterMarketplaceSubscriptionOutput) ToGetCloudRouterMarketplaceSubscriptionOutputWithContext(ctx context.Context) GetCloudRouterMarketplaceSubscriptionOutput { + return o +} + +// Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION +func (o GetCloudRouterMarketplaceSubscriptionOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterMarketplaceSubscription) string { return v.Type }).(pulumi.StringOutput) +} + +// Equinix-assigned Marketplace Subscription identifier +func (o GetCloudRouterMarketplaceSubscriptionOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRouterMarketplaceSubscription) string { return v.Uuid }).(pulumi.StringOutput) +} + +type GetCloudRouterMarketplaceSubscriptionArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudRouterMarketplaceSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRouterMarketplaceSubscription)(nil)).Elem() +} + +func (o GetCloudRouterMarketplaceSubscriptionArrayOutput) ToGetCloudRouterMarketplaceSubscriptionArrayOutput() GetCloudRouterMarketplaceSubscriptionArrayOutput { + return o +} + +func (o GetCloudRouterMarketplaceSubscriptionArrayOutput) ToGetCloudRouterMarketplaceSubscriptionArrayOutputWithContext(ctx context.Context) GetCloudRouterMarketplaceSubscriptionArrayOutput { + return o +} + +func (o GetCloudRouterMarketplaceSubscriptionArrayOutput) Index(i pulumi.IntInput) GetCloudRouterMarketplaceSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudRouterMarketplaceSubscription { + return vs[0].([]GetCloudRouterMarketplaceSubscription)[vs[1].(int)] + }).(GetCloudRouterMarketplaceSubscriptionOutput) +} + type GetCloudRouterNotification struct { // Array of contact emails Emails []string `pulumi:"emails"` @@ -15346,6 +15608,8 @@ type GetCloudRoutersData struct { Href string `pulumi:"href"` // Fabric Cloud Router location Locations []GetCloudRoutersDataLocation `pulumi:"locations"` + // Equinix Fabric Entity for Marketplace Subscription + MarketplaceSubscriptions []GetCloudRoutersDataMarketplaceSubscription `pulumi:"marketplaceSubscriptions"` // Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores Name string `pulumi:"name"` // Preferences for notifications on Fabric Cloud Router configuration or status changes @@ -15398,6 +15662,8 @@ type GetCloudRoutersDataArgs struct { Href pulumi.StringInput `pulumi:"href"` // Fabric Cloud Router location Locations GetCloudRoutersDataLocationArrayInput `pulumi:"locations"` + // Equinix Fabric Entity for Marketplace Subscription + MarketplaceSubscriptions GetCloudRoutersDataMarketplaceSubscriptionArrayInput `pulumi:"marketplaceSubscriptions"` // Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores Name pulumi.StringInput `pulumi:"name"` // Preferences for notifications on Fabric Cloud Router configuration or status changes @@ -15522,6 +15788,13 @@ func (o GetCloudRoutersDataOutput) Locations() GetCloudRoutersDataLocationArrayO return o.ApplyT(func(v GetCloudRoutersData) []GetCloudRoutersDataLocation { return v.Locations }).(GetCloudRoutersDataLocationArrayOutput) } +// Equinix Fabric Entity for Marketplace Subscription +func (o GetCloudRoutersDataOutput) MarketplaceSubscriptions() GetCloudRoutersDataMarketplaceSubscriptionArrayOutput { + return o.ApplyT(func(v GetCloudRoutersData) []GetCloudRoutersDataMarketplaceSubscription { + return v.MarketplaceSubscriptions + }).(GetCloudRoutersDataMarketplaceSubscriptionArrayOutput) +} + // Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores func (o GetCloudRoutersDataOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetCloudRoutersData) string { return v.Name }).(pulumi.StringOutput) @@ -15999,6 +16272,112 @@ func (o GetCloudRoutersDataLocationArrayOutput) Index(i pulumi.IntInput) GetClou }).(GetCloudRoutersDataLocationOutput) } +type GetCloudRoutersDataMarketplaceSubscription struct { + // Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + Type string `pulumi:"type"` + // Equinix-assigned Marketplace Subscription identifier + Uuid string `pulumi:"uuid"` +} + +// GetCloudRoutersDataMarketplaceSubscriptionInput is an input type that accepts GetCloudRoutersDataMarketplaceSubscriptionArgs and GetCloudRoutersDataMarketplaceSubscriptionOutput values. +// You can construct a concrete instance of `GetCloudRoutersDataMarketplaceSubscriptionInput` via: +// +// GetCloudRoutersDataMarketplaceSubscriptionArgs{...} +type GetCloudRoutersDataMarketplaceSubscriptionInput interface { + pulumi.Input + + ToGetCloudRoutersDataMarketplaceSubscriptionOutput() GetCloudRoutersDataMarketplaceSubscriptionOutput + ToGetCloudRoutersDataMarketplaceSubscriptionOutputWithContext(context.Context) GetCloudRoutersDataMarketplaceSubscriptionOutput +} + +type GetCloudRoutersDataMarketplaceSubscriptionArgs struct { + // Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + Type pulumi.StringInput `pulumi:"type"` + // Equinix-assigned Marketplace Subscription identifier + Uuid pulumi.StringInput `pulumi:"uuid"` +} + +func (GetCloudRoutersDataMarketplaceSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRoutersDataMarketplaceSubscription)(nil)).Elem() +} + +func (i GetCloudRoutersDataMarketplaceSubscriptionArgs) ToGetCloudRoutersDataMarketplaceSubscriptionOutput() GetCloudRoutersDataMarketplaceSubscriptionOutput { + return i.ToGetCloudRoutersDataMarketplaceSubscriptionOutputWithContext(context.Background()) +} + +func (i GetCloudRoutersDataMarketplaceSubscriptionArgs) ToGetCloudRoutersDataMarketplaceSubscriptionOutputWithContext(ctx context.Context) GetCloudRoutersDataMarketplaceSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRoutersDataMarketplaceSubscriptionOutput) +} + +// GetCloudRoutersDataMarketplaceSubscriptionArrayInput is an input type that accepts GetCloudRoutersDataMarketplaceSubscriptionArray and GetCloudRoutersDataMarketplaceSubscriptionArrayOutput values. +// You can construct a concrete instance of `GetCloudRoutersDataMarketplaceSubscriptionArrayInput` via: +// +// GetCloudRoutersDataMarketplaceSubscriptionArray{ GetCloudRoutersDataMarketplaceSubscriptionArgs{...} } +type GetCloudRoutersDataMarketplaceSubscriptionArrayInput interface { + pulumi.Input + + ToGetCloudRoutersDataMarketplaceSubscriptionArrayOutput() GetCloudRoutersDataMarketplaceSubscriptionArrayOutput + ToGetCloudRoutersDataMarketplaceSubscriptionArrayOutputWithContext(context.Context) GetCloudRoutersDataMarketplaceSubscriptionArrayOutput +} + +type GetCloudRoutersDataMarketplaceSubscriptionArray []GetCloudRoutersDataMarketplaceSubscriptionInput + +func (GetCloudRoutersDataMarketplaceSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRoutersDataMarketplaceSubscription)(nil)).Elem() +} + +func (i GetCloudRoutersDataMarketplaceSubscriptionArray) ToGetCloudRoutersDataMarketplaceSubscriptionArrayOutput() GetCloudRoutersDataMarketplaceSubscriptionArrayOutput { + return i.ToGetCloudRoutersDataMarketplaceSubscriptionArrayOutputWithContext(context.Background()) +} + +func (i GetCloudRoutersDataMarketplaceSubscriptionArray) ToGetCloudRoutersDataMarketplaceSubscriptionArrayOutputWithContext(ctx context.Context) GetCloudRoutersDataMarketplaceSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudRoutersDataMarketplaceSubscriptionArrayOutput) +} + +type GetCloudRoutersDataMarketplaceSubscriptionOutput struct{ *pulumi.OutputState } + +func (GetCloudRoutersDataMarketplaceSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudRoutersDataMarketplaceSubscription)(nil)).Elem() +} + +func (o GetCloudRoutersDataMarketplaceSubscriptionOutput) ToGetCloudRoutersDataMarketplaceSubscriptionOutput() GetCloudRoutersDataMarketplaceSubscriptionOutput { + return o +} + +func (o GetCloudRoutersDataMarketplaceSubscriptionOutput) ToGetCloudRoutersDataMarketplaceSubscriptionOutputWithContext(ctx context.Context) GetCloudRoutersDataMarketplaceSubscriptionOutput { + return o +} + +// Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION +func (o GetCloudRoutersDataMarketplaceSubscriptionOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRoutersDataMarketplaceSubscription) string { return v.Type }).(pulumi.StringOutput) +} + +// Equinix-assigned Marketplace Subscription identifier +func (o GetCloudRoutersDataMarketplaceSubscriptionOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudRoutersDataMarketplaceSubscription) string { return v.Uuid }).(pulumi.StringOutput) +} + +type GetCloudRoutersDataMarketplaceSubscriptionArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudRoutersDataMarketplaceSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudRoutersDataMarketplaceSubscription)(nil)).Elem() +} + +func (o GetCloudRoutersDataMarketplaceSubscriptionArrayOutput) ToGetCloudRoutersDataMarketplaceSubscriptionArrayOutput() GetCloudRoutersDataMarketplaceSubscriptionArrayOutput { + return o +} + +func (o GetCloudRoutersDataMarketplaceSubscriptionArrayOutput) ToGetCloudRoutersDataMarketplaceSubscriptionArrayOutputWithContext(ctx context.Context) GetCloudRoutersDataMarketplaceSubscriptionArrayOutput { + return o +} + +func (o GetCloudRoutersDataMarketplaceSubscriptionArrayOutput) Index(i pulumi.IntInput) GetCloudRoutersDataMarketplaceSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudRoutersDataMarketplaceSubscription { + return vs[0].([]GetCloudRoutersDataMarketplaceSubscription)[vs[1].(int)] + }).(GetCloudRoutersDataMarketplaceSubscriptionOutput) +} + type GetCloudRoutersDataNotification struct { // Array of contact emails Emails []string `pulumi:"emails"` @@ -18943,9 +19322,9 @@ func (o GetConnectionASideAccessPointProfilePtrOutput) Uuid() pulumi.StringPtrOu } type GetConnectionASideAccessPointProfileAccessPointTypeConfig struct { - // Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + // Type of access point type config - VD, COLO Type string `pulumi:"type"` - // Equinix-assigned connection identifier + // Equinix-assigned access point type config identifier Uuid string `pulumi:"uuid"` } @@ -18961,9 +19340,9 @@ type GetConnectionASideAccessPointProfileAccessPointTypeConfigInput interface { } type GetConnectionASideAccessPointProfileAccessPointTypeConfigArgs struct { - // Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + // Type of access point type config - VD, COLO Type pulumi.StringInput `pulumi:"type"` - // Equinix-assigned connection identifier + // Equinix-assigned access point type config identifier Uuid pulumi.StringInput `pulumi:"uuid"` } @@ -19018,12 +19397,12 @@ func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) ToGetCo return o } -// Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC +// Type of access point type config - VD, COLO func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) string { return v.Type }).(pulumi.StringOutput) } -// Equinix-assigned connection identifier +// Equinix-assigned access point type config identifier func (o GetConnectionASideAccessPointProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionASideAccessPointProfileAccessPointTypeConfig) string { return v.Uuid }).(pulumi.StringOutput) } @@ -22666,9 +23045,9 @@ func (o GetConnectionZSideAccessPointProfilePtrOutput) Uuid() pulumi.StringPtrOu } type GetConnectionZSideAccessPointProfileAccessPointTypeConfig struct { - // Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + // Type of access point type config - VD, COLO Type string `pulumi:"type"` - // Equinix-assigned connection identifier + // Equinix-assigned access point type config identifier Uuid string `pulumi:"uuid"` } @@ -22684,9 +23063,9 @@ type GetConnectionZSideAccessPointProfileAccessPointTypeConfigInput interface { } type GetConnectionZSideAccessPointProfileAccessPointTypeConfigArgs struct { - // Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + // Type of access point type config - VD, COLO Type pulumi.StringInput `pulumi:"type"` - // Equinix-assigned connection identifier + // Equinix-assigned access point type config identifier Uuid pulumi.StringInput `pulumi:"uuid"` } @@ -22741,12 +23120,12 @@ func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) ToGetCo return o } -// Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC +// Type of access point type config - VD, COLO func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) string { return v.Type }).(pulumi.StringOutput) } -// Equinix-assigned connection identifier +// Equinix-assigned access point type config identifier func (o GetConnectionZSideAccessPointProfileAccessPointTypeConfigOutput) Uuid() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionZSideAccessPointProfileAccessPointTypeConfig) string { return v.Uuid }).(pulumi.StringOutput) } @@ -24539,7 +24918,7 @@ func (o GetConnectionsDataASideAccessPointGatewayPtrOutput) Uuid() pulumi.String } type GetConnectionsDataASideAccessPointInterface struct { - // The ID of this resource. + // id Id int `pulumi:"id"` // Interface type Type *string `pulumi:"type"` @@ -24559,7 +24938,7 @@ type GetConnectionsDataASideAccessPointInterfaceInput interface { } type GetConnectionsDataASideAccessPointInterfaceArgs struct { - // The ID of this resource. + // id Id pulumi.IntInput `pulumi:"id"` // Interface type Type pulumi.StringPtrInput `pulumi:"type"` @@ -24644,7 +25023,7 @@ func (o GetConnectionsDataASideAccessPointInterfaceOutput) ToGetConnectionsDataA }).(GetConnectionsDataASideAccessPointInterfacePtrOutput) } -// The ID of this resource. +// id func (o GetConnectionsDataASideAccessPointInterfaceOutput) Id() pulumi.IntOutput { return o.ApplyT(func(v GetConnectionsDataASideAccessPointInterface) int { return v.Id }).(pulumi.IntOutput) } @@ -24683,7 +25062,7 @@ func (o GetConnectionsDataASideAccessPointInterfacePtrOutput) Elem() GetConnecti }).(GetConnectionsDataASideAccessPointInterfaceOutput) } -// The ID of this resource. +// id func (o GetConnectionsDataASideAccessPointInterfacePtrOutput) Id() pulumi.IntPtrOutput { return o.ApplyT(func(v *GetConnectionsDataASideAccessPointInterface) *int { if v == nil { @@ -28589,7 +28968,7 @@ func (o GetConnectionsDataZSideAccessPointGatewayPtrOutput) Uuid() pulumi.String } type GetConnectionsDataZSideAccessPointInterface struct { - // The ID of this resource. + // id Id int `pulumi:"id"` // Interface type Type *string `pulumi:"type"` @@ -28609,7 +28988,7 @@ type GetConnectionsDataZSideAccessPointInterfaceInput interface { } type GetConnectionsDataZSideAccessPointInterfaceArgs struct { - // The ID of this resource. + // id Id pulumi.IntInput `pulumi:"id"` // Interface type Type pulumi.StringPtrInput `pulumi:"type"` @@ -28694,7 +29073,7 @@ func (o GetConnectionsDataZSideAccessPointInterfaceOutput) ToGetConnectionsDataZ }).(GetConnectionsDataZSideAccessPointInterfacePtrOutput) } -// The ID of this resource. +// id func (o GetConnectionsDataZSideAccessPointInterfaceOutput) Id() pulumi.IntOutput { return o.ApplyT(func(v GetConnectionsDataZSideAccessPointInterface) int { return v.Id }).(pulumi.IntOutput) } @@ -28733,7 +29112,7 @@ func (o GetConnectionsDataZSideAccessPointInterfacePtrOutput) Elem() GetConnecti }).(GetConnectionsDataZSideAccessPointInterfaceOutput) } -// The ID of this resource. +// id func (o GetConnectionsDataZSideAccessPointInterfacePtrOutput) Id() pulumi.IntPtrOutput { return o.ApplyT(func(v *GetConnectionsDataZSideAccessPointInterface) *int { if v == nil { @@ -30613,7 +30992,7 @@ type GetConnectionsFilter struct { Group *string `pulumi:"group"` // Operators to use on your filtered field with the values given. One of [ =, !=, >, >=, <, <=, BETWEEN, NOT BETWEEN, LIKE, NOT LIKE, IN, NOT IN, IS NOT NULL, IS NULL] Operator string `pulumi:"operator"` - // Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + // Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] Property string `pulumi:"property"` // The values that you want to apply the property+operator combination to in order to filter your data search Values []string `pulumi:"values"` @@ -30635,7 +31014,7 @@ type GetConnectionsFilterArgs struct { Group pulumi.StringPtrInput `pulumi:"group"` // Operators to use on your filtered field with the values given. One of [ =, !=, >, >=, <, <=, BETWEEN, NOT BETWEEN, LIKE, NOT LIKE, IN, NOT IN, IS NOT NULL, IS NULL] Operator pulumi.StringInput `pulumi:"operator"` - // Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + // Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] Property pulumi.StringInput `pulumi:"property"` // The values that you want to apply the property+operator combination to in order to filter your data search Values pulumi.StringArrayInput `pulumi:"values"` @@ -30702,7 +31081,7 @@ func (o GetConnectionsFilterOutput) Operator() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionsFilter) string { return v.Operator }).(pulumi.StringOutput) } -// Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] +// Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] func (o GetConnectionsFilterOutput) Property() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionsFilter) string { return v.Property }).(pulumi.StringOutput) } @@ -30994,6 +31373,398 @@ func (o GetConnectionsSortArrayOutput) Index(i pulumi.IntInput) GetConnectionsSo }).(GetConnectionsSortOutput) } +type GetMarketplaceSubscriptionEntitlement struct { + // Asset information + Assets []GetMarketplaceSubscriptionEntitlementAsset `pulumi:"assets"` + // Available Quantity + QuantityAvailable int `pulumi:"quantityAvailable"` + // Consumed Quantity + QuantityConsumed int `pulumi:"quantityConsumed"` + // Entitled Quantity + QuantityEntitled int `pulumi:"quantityEntitled"` + // Subscription Entitlement Id + Uuid string `pulumi:"uuid"` +} + +// GetMarketplaceSubscriptionEntitlementInput is an input type that accepts GetMarketplaceSubscriptionEntitlementArgs and GetMarketplaceSubscriptionEntitlementOutput values. +// You can construct a concrete instance of `GetMarketplaceSubscriptionEntitlementInput` via: +// +// GetMarketplaceSubscriptionEntitlementArgs{...} +type GetMarketplaceSubscriptionEntitlementInput interface { + pulumi.Input + + ToGetMarketplaceSubscriptionEntitlementOutput() GetMarketplaceSubscriptionEntitlementOutput + ToGetMarketplaceSubscriptionEntitlementOutputWithContext(context.Context) GetMarketplaceSubscriptionEntitlementOutput +} + +type GetMarketplaceSubscriptionEntitlementArgs struct { + // Asset information + Assets GetMarketplaceSubscriptionEntitlementAssetArrayInput `pulumi:"assets"` + // Available Quantity + QuantityAvailable pulumi.IntInput `pulumi:"quantityAvailable"` + // Consumed Quantity + QuantityConsumed pulumi.IntInput `pulumi:"quantityConsumed"` + // Entitled Quantity + QuantityEntitled pulumi.IntInput `pulumi:"quantityEntitled"` + // Subscription Entitlement Id + Uuid pulumi.StringInput `pulumi:"uuid"` +} + +func (GetMarketplaceSubscriptionEntitlementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMarketplaceSubscriptionEntitlement)(nil)).Elem() +} + +func (i GetMarketplaceSubscriptionEntitlementArgs) ToGetMarketplaceSubscriptionEntitlementOutput() GetMarketplaceSubscriptionEntitlementOutput { + return i.ToGetMarketplaceSubscriptionEntitlementOutputWithContext(context.Background()) +} + +func (i GetMarketplaceSubscriptionEntitlementArgs) ToGetMarketplaceSubscriptionEntitlementOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionEntitlementOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMarketplaceSubscriptionEntitlementOutput) +} + +// GetMarketplaceSubscriptionEntitlementArrayInput is an input type that accepts GetMarketplaceSubscriptionEntitlementArray and GetMarketplaceSubscriptionEntitlementArrayOutput values. +// You can construct a concrete instance of `GetMarketplaceSubscriptionEntitlementArrayInput` via: +// +// GetMarketplaceSubscriptionEntitlementArray{ GetMarketplaceSubscriptionEntitlementArgs{...} } +type GetMarketplaceSubscriptionEntitlementArrayInput interface { + pulumi.Input + + ToGetMarketplaceSubscriptionEntitlementArrayOutput() GetMarketplaceSubscriptionEntitlementArrayOutput + ToGetMarketplaceSubscriptionEntitlementArrayOutputWithContext(context.Context) GetMarketplaceSubscriptionEntitlementArrayOutput +} + +type GetMarketplaceSubscriptionEntitlementArray []GetMarketplaceSubscriptionEntitlementInput + +func (GetMarketplaceSubscriptionEntitlementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMarketplaceSubscriptionEntitlement)(nil)).Elem() +} + +func (i GetMarketplaceSubscriptionEntitlementArray) ToGetMarketplaceSubscriptionEntitlementArrayOutput() GetMarketplaceSubscriptionEntitlementArrayOutput { + return i.ToGetMarketplaceSubscriptionEntitlementArrayOutputWithContext(context.Background()) +} + +func (i GetMarketplaceSubscriptionEntitlementArray) ToGetMarketplaceSubscriptionEntitlementArrayOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionEntitlementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMarketplaceSubscriptionEntitlementArrayOutput) +} + +type GetMarketplaceSubscriptionEntitlementOutput struct{ *pulumi.OutputState } + +func (GetMarketplaceSubscriptionEntitlementOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMarketplaceSubscriptionEntitlement)(nil)).Elem() +} + +func (o GetMarketplaceSubscriptionEntitlementOutput) ToGetMarketplaceSubscriptionEntitlementOutput() GetMarketplaceSubscriptionEntitlementOutput { + return o +} + +func (o GetMarketplaceSubscriptionEntitlementOutput) ToGetMarketplaceSubscriptionEntitlementOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionEntitlementOutput { + return o +} + +// Asset information +func (o GetMarketplaceSubscriptionEntitlementOutput) Assets() GetMarketplaceSubscriptionEntitlementAssetArrayOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionEntitlement) []GetMarketplaceSubscriptionEntitlementAsset { + return v.Assets + }).(GetMarketplaceSubscriptionEntitlementAssetArrayOutput) +} + +// Available Quantity +func (o GetMarketplaceSubscriptionEntitlementOutput) QuantityAvailable() pulumi.IntOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionEntitlement) int { return v.QuantityAvailable }).(pulumi.IntOutput) +} + +// Consumed Quantity +func (o GetMarketplaceSubscriptionEntitlementOutput) QuantityConsumed() pulumi.IntOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionEntitlement) int { return v.QuantityConsumed }).(pulumi.IntOutput) +} + +// Entitled Quantity +func (o GetMarketplaceSubscriptionEntitlementOutput) QuantityEntitled() pulumi.IntOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionEntitlement) int { return v.QuantityEntitled }).(pulumi.IntOutput) +} + +// Subscription Entitlement Id +func (o GetMarketplaceSubscriptionEntitlementOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionEntitlement) string { return v.Uuid }).(pulumi.StringOutput) +} + +type GetMarketplaceSubscriptionEntitlementArrayOutput struct{ *pulumi.OutputState } + +func (GetMarketplaceSubscriptionEntitlementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMarketplaceSubscriptionEntitlement)(nil)).Elem() +} + +func (o GetMarketplaceSubscriptionEntitlementArrayOutput) ToGetMarketplaceSubscriptionEntitlementArrayOutput() GetMarketplaceSubscriptionEntitlementArrayOutput { + return o +} + +func (o GetMarketplaceSubscriptionEntitlementArrayOutput) ToGetMarketplaceSubscriptionEntitlementArrayOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionEntitlementArrayOutput { + return o +} + +func (o GetMarketplaceSubscriptionEntitlementArrayOutput) Index(i pulumi.IntInput) GetMarketplaceSubscriptionEntitlementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMarketplaceSubscriptionEntitlement { + return vs[0].([]GetMarketplaceSubscriptionEntitlement)[vs[1].(int)] + }).(GetMarketplaceSubscriptionEntitlementOutput) +} + +type GetMarketplaceSubscriptionEntitlementAsset struct { + // Fabric Cloud Router Package Type + Packages []GetMarketplaceSubscriptionEntitlementAssetPackage `pulumi:"packages"` + // Defines the FCR type like; XF_ROUTER + Type string `pulumi:"type"` +} + +// GetMarketplaceSubscriptionEntitlementAssetInput is an input type that accepts GetMarketplaceSubscriptionEntitlementAssetArgs and GetMarketplaceSubscriptionEntitlementAssetOutput values. +// You can construct a concrete instance of `GetMarketplaceSubscriptionEntitlementAssetInput` via: +// +// GetMarketplaceSubscriptionEntitlementAssetArgs{...} +type GetMarketplaceSubscriptionEntitlementAssetInput interface { + pulumi.Input + + ToGetMarketplaceSubscriptionEntitlementAssetOutput() GetMarketplaceSubscriptionEntitlementAssetOutput + ToGetMarketplaceSubscriptionEntitlementAssetOutputWithContext(context.Context) GetMarketplaceSubscriptionEntitlementAssetOutput +} + +type GetMarketplaceSubscriptionEntitlementAssetArgs struct { + // Fabric Cloud Router Package Type + Packages GetMarketplaceSubscriptionEntitlementAssetPackageArrayInput `pulumi:"packages"` + // Defines the FCR type like; XF_ROUTER + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetMarketplaceSubscriptionEntitlementAssetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMarketplaceSubscriptionEntitlementAsset)(nil)).Elem() +} + +func (i GetMarketplaceSubscriptionEntitlementAssetArgs) ToGetMarketplaceSubscriptionEntitlementAssetOutput() GetMarketplaceSubscriptionEntitlementAssetOutput { + return i.ToGetMarketplaceSubscriptionEntitlementAssetOutputWithContext(context.Background()) +} + +func (i GetMarketplaceSubscriptionEntitlementAssetArgs) ToGetMarketplaceSubscriptionEntitlementAssetOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionEntitlementAssetOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMarketplaceSubscriptionEntitlementAssetOutput) +} + +// GetMarketplaceSubscriptionEntitlementAssetArrayInput is an input type that accepts GetMarketplaceSubscriptionEntitlementAssetArray and GetMarketplaceSubscriptionEntitlementAssetArrayOutput values. +// You can construct a concrete instance of `GetMarketplaceSubscriptionEntitlementAssetArrayInput` via: +// +// GetMarketplaceSubscriptionEntitlementAssetArray{ GetMarketplaceSubscriptionEntitlementAssetArgs{...} } +type GetMarketplaceSubscriptionEntitlementAssetArrayInput interface { + pulumi.Input + + ToGetMarketplaceSubscriptionEntitlementAssetArrayOutput() GetMarketplaceSubscriptionEntitlementAssetArrayOutput + ToGetMarketplaceSubscriptionEntitlementAssetArrayOutputWithContext(context.Context) GetMarketplaceSubscriptionEntitlementAssetArrayOutput +} + +type GetMarketplaceSubscriptionEntitlementAssetArray []GetMarketplaceSubscriptionEntitlementAssetInput + +func (GetMarketplaceSubscriptionEntitlementAssetArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMarketplaceSubscriptionEntitlementAsset)(nil)).Elem() +} + +func (i GetMarketplaceSubscriptionEntitlementAssetArray) ToGetMarketplaceSubscriptionEntitlementAssetArrayOutput() GetMarketplaceSubscriptionEntitlementAssetArrayOutput { + return i.ToGetMarketplaceSubscriptionEntitlementAssetArrayOutputWithContext(context.Background()) +} + +func (i GetMarketplaceSubscriptionEntitlementAssetArray) ToGetMarketplaceSubscriptionEntitlementAssetArrayOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionEntitlementAssetArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMarketplaceSubscriptionEntitlementAssetArrayOutput) +} + +type GetMarketplaceSubscriptionEntitlementAssetOutput struct{ *pulumi.OutputState } + +func (GetMarketplaceSubscriptionEntitlementAssetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMarketplaceSubscriptionEntitlementAsset)(nil)).Elem() +} + +func (o GetMarketplaceSubscriptionEntitlementAssetOutput) ToGetMarketplaceSubscriptionEntitlementAssetOutput() GetMarketplaceSubscriptionEntitlementAssetOutput { + return o +} + +func (o GetMarketplaceSubscriptionEntitlementAssetOutput) ToGetMarketplaceSubscriptionEntitlementAssetOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionEntitlementAssetOutput { + return o +} + +// Fabric Cloud Router Package Type +func (o GetMarketplaceSubscriptionEntitlementAssetOutput) Packages() GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionEntitlementAsset) []GetMarketplaceSubscriptionEntitlementAssetPackage { + return v.Packages + }).(GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput) +} + +// Defines the FCR type like; XF_ROUTER +func (o GetMarketplaceSubscriptionEntitlementAssetOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionEntitlementAsset) string { return v.Type }).(pulumi.StringOutput) +} + +type GetMarketplaceSubscriptionEntitlementAssetArrayOutput struct{ *pulumi.OutputState } + +func (GetMarketplaceSubscriptionEntitlementAssetArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMarketplaceSubscriptionEntitlementAsset)(nil)).Elem() +} + +func (o GetMarketplaceSubscriptionEntitlementAssetArrayOutput) ToGetMarketplaceSubscriptionEntitlementAssetArrayOutput() GetMarketplaceSubscriptionEntitlementAssetArrayOutput { + return o +} + +func (o GetMarketplaceSubscriptionEntitlementAssetArrayOutput) ToGetMarketplaceSubscriptionEntitlementAssetArrayOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionEntitlementAssetArrayOutput { + return o +} + +func (o GetMarketplaceSubscriptionEntitlementAssetArrayOutput) Index(i pulumi.IntInput) GetMarketplaceSubscriptionEntitlementAssetOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMarketplaceSubscriptionEntitlementAsset { + return vs[0].([]GetMarketplaceSubscriptionEntitlementAsset)[vs[1].(int)] + }).(GetMarketplaceSubscriptionEntitlementAssetOutput) +} + +type GetMarketplaceSubscriptionEntitlementAssetPackage struct { + // Cloud Router package code + Code string `pulumi:"code"` +} + +// GetMarketplaceSubscriptionEntitlementAssetPackageInput is an input type that accepts GetMarketplaceSubscriptionEntitlementAssetPackageArgs and GetMarketplaceSubscriptionEntitlementAssetPackageOutput values. +// You can construct a concrete instance of `GetMarketplaceSubscriptionEntitlementAssetPackageInput` via: +// +// GetMarketplaceSubscriptionEntitlementAssetPackageArgs{...} +type GetMarketplaceSubscriptionEntitlementAssetPackageInput interface { + pulumi.Input + + ToGetMarketplaceSubscriptionEntitlementAssetPackageOutput() GetMarketplaceSubscriptionEntitlementAssetPackageOutput + ToGetMarketplaceSubscriptionEntitlementAssetPackageOutputWithContext(context.Context) GetMarketplaceSubscriptionEntitlementAssetPackageOutput +} + +type GetMarketplaceSubscriptionEntitlementAssetPackageArgs struct { + // Cloud Router package code + Code pulumi.StringInput `pulumi:"code"` +} + +func (GetMarketplaceSubscriptionEntitlementAssetPackageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMarketplaceSubscriptionEntitlementAssetPackage)(nil)).Elem() +} + +func (i GetMarketplaceSubscriptionEntitlementAssetPackageArgs) ToGetMarketplaceSubscriptionEntitlementAssetPackageOutput() GetMarketplaceSubscriptionEntitlementAssetPackageOutput { + return i.ToGetMarketplaceSubscriptionEntitlementAssetPackageOutputWithContext(context.Background()) +} + +func (i GetMarketplaceSubscriptionEntitlementAssetPackageArgs) ToGetMarketplaceSubscriptionEntitlementAssetPackageOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionEntitlementAssetPackageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMarketplaceSubscriptionEntitlementAssetPackageOutput) +} + +// GetMarketplaceSubscriptionEntitlementAssetPackageArrayInput is an input type that accepts GetMarketplaceSubscriptionEntitlementAssetPackageArray and GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput values. +// You can construct a concrete instance of `GetMarketplaceSubscriptionEntitlementAssetPackageArrayInput` via: +// +// GetMarketplaceSubscriptionEntitlementAssetPackageArray{ GetMarketplaceSubscriptionEntitlementAssetPackageArgs{...} } +type GetMarketplaceSubscriptionEntitlementAssetPackageArrayInput interface { + pulumi.Input + + ToGetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput() GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput + ToGetMarketplaceSubscriptionEntitlementAssetPackageArrayOutputWithContext(context.Context) GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput +} + +type GetMarketplaceSubscriptionEntitlementAssetPackageArray []GetMarketplaceSubscriptionEntitlementAssetPackageInput + +func (GetMarketplaceSubscriptionEntitlementAssetPackageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMarketplaceSubscriptionEntitlementAssetPackage)(nil)).Elem() +} + +func (i GetMarketplaceSubscriptionEntitlementAssetPackageArray) ToGetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput() GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput { + return i.ToGetMarketplaceSubscriptionEntitlementAssetPackageArrayOutputWithContext(context.Background()) +} + +func (i GetMarketplaceSubscriptionEntitlementAssetPackageArray) ToGetMarketplaceSubscriptionEntitlementAssetPackageArrayOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput) +} + +type GetMarketplaceSubscriptionEntitlementAssetPackageOutput struct{ *pulumi.OutputState } + +func (GetMarketplaceSubscriptionEntitlementAssetPackageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMarketplaceSubscriptionEntitlementAssetPackage)(nil)).Elem() +} + +func (o GetMarketplaceSubscriptionEntitlementAssetPackageOutput) ToGetMarketplaceSubscriptionEntitlementAssetPackageOutput() GetMarketplaceSubscriptionEntitlementAssetPackageOutput { + return o +} + +func (o GetMarketplaceSubscriptionEntitlementAssetPackageOutput) ToGetMarketplaceSubscriptionEntitlementAssetPackageOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionEntitlementAssetPackageOutput { + return o +} + +// Cloud Router package code +func (o GetMarketplaceSubscriptionEntitlementAssetPackageOutput) Code() pulumi.StringOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionEntitlementAssetPackage) string { return v.Code }).(pulumi.StringOutput) +} + +type GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput struct{ *pulumi.OutputState } + +func (GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMarketplaceSubscriptionEntitlementAssetPackage)(nil)).Elem() +} + +func (o GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput) ToGetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput() GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput { + return o +} + +func (o GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput) ToGetMarketplaceSubscriptionEntitlementAssetPackageArrayOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput { + return o +} + +func (o GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput) Index(i pulumi.IntInput) GetMarketplaceSubscriptionEntitlementAssetPackageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMarketplaceSubscriptionEntitlementAssetPackage { + return vs[0].([]GetMarketplaceSubscriptionEntitlementAssetPackage)[vs[1].(int)] + }).(GetMarketplaceSubscriptionEntitlementAssetPackageOutput) +} + +type GetMarketplaceSubscriptionTrial struct { + // Marketplace Subscription Trial Enabled + Enabled bool `pulumi:"enabled"` +} + +// GetMarketplaceSubscriptionTrialInput is an input type that accepts GetMarketplaceSubscriptionTrialArgs and GetMarketplaceSubscriptionTrialOutput values. +// You can construct a concrete instance of `GetMarketplaceSubscriptionTrialInput` via: +// +// GetMarketplaceSubscriptionTrialArgs{...} +type GetMarketplaceSubscriptionTrialInput interface { + pulumi.Input + + ToGetMarketplaceSubscriptionTrialOutput() GetMarketplaceSubscriptionTrialOutput + ToGetMarketplaceSubscriptionTrialOutputWithContext(context.Context) GetMarketplaceSubscriptionTrialOutput +} + +type GetMarketplaceSubscriptionTrialArgs struct { + // Marketplace Subscription Trial Enabled + Enabled pulumi.BoolInput `pulumi:"enabled"` +} + +func (GetMarketplaceSubscriptionTrialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMarketplaceSubscriptionTrial)(nil)).Elem() +} + +func (i GetMarketplaceSubscriptionTrialArgs) ToGetMarketplaceSubscriptionTrialOutput() GetMarketplaceSubscriptionTrialOutput { + return i.ToGetMarketplaceSubscriptionTrialOutputWithContext(context.Background()) +} + +func (i GetMarketplaceSubscriptionTrialArgs) ToGetMarketplaceSubscriptionTrialOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionTrialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMarketplaceSubscriptionTrialOutput) +} + +type GetMarketplaceSubscriptionTrialOutput struct{ *pulumi.OutputState } + +func (GetMarketplaceSubscriptionTrialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMarketplaceSubscriptionTrial)(nil)).Elem() +} + +func (o GetMarketplaceSubscriptionTrialOutput) ToGetMarketplaceSubscriptionTrialOutput() GetMarketplaceSubscriptionTrialOutput { + return o +} + +func (o GetMarketplaceSubscriptionTrialOutput) ToGetMarketplaceSubscriptionTrialOutputWithContext(ctx context.Context) GetMarketplaceSubscriptionTrialOutput { + return o +} + +// Marketplace Subscription Trial Enabled +func (o GetMarketplaceSubscriptionTrialOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetMarketplaceSubscriptionTrial) bool { return v.Enabled }).(pulumi.BoolOutput) +} + type GetNetworkChange struct { // Absolute URL that returns the details of the given change. // Example: https://api.equinix.com/fabric/v4/networks/92dc376a-a932-43aa-a6a2-c806dedbd784 @@ -41503,6 +42274,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterChangeLogArrayInput)(nil)).Elem(), CloudRouterChangeLogArray{}) pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterLocationInput)(nil)).Elem(), CloudRouterLocationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterLocationPtrInput)(nil)).Elem(), CloudRouterLocationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterMarketplaceSubscriptionInput)(nil)).Elem(), CloudRouterMarketplaceSubscriptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterMarketplaceSubscriptionPtrInput)(nil)).Elem(), CloudRouterMarketplaceSubscriptionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterNotificationInput)(nil)).Elem(), CloudRouterNotificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterNotificationArrayInput)(nil)).Elem(), CloudRouterNotificationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*CloudRouterOrderInput)(nil)).Elem(), CloudRouterOrderArgs{}) @@ -41663,6 +42436,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterChangeLogArrayInput)(nil)).Elem(), GetCloudRouterChangeLogArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterLocationInput)(nil)).Elem(), GetCloudRouterLocationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterLocationArrayInput)(nil)).Elem(), GetCloudRouterLocationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterMarketplaceSubscriptionInput)(nil)).Elem(), GetCloudRouterMarketplaceSubscriptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterMarketplaceSubscriptionArrayInput)(nil)).Elem(), GetCloudRouterMarketplaceSubscriptionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterNotificationInput)(nil)).Elem(), GetCloudRouterNotificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterNotificationArrayInput)(nil)).Elem(), GetCloudRouterNotificationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRouterOrderInput)(nil)).Elem(), GetCloudRouterOrderArgs{}) @@ -41679,6 +42454,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRoutersDataChangeLogArrayInput)(nil)).Elem(), GetCloudRoutersDataChangeLogArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRoutersDataLocationInput)(nil)).Elem(), GetCloudRoutersDataLocationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRoutersDataLocationArrayInput)(nil)).Elem(), GetCloudRoutersDataLocationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRoutersDataMarketplaceSubscriptionInput)(nil)).Elem(), GetCloudRoutersDataMarketplaceSubscriptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRoutersDataMarketplaceSubscriptionArrayInput)(nil)).Elem(), GetCloudRoutersDataMarketplaceSubscriptionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRoutersDataNotificationInput)(nil)).Elem(), GetCloudRoutersDataNotificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRoutersDataNotificationArrayInput)(nil)).Elem(), GetCloudRoutersDataNotificationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCloudRoutersDataOrderInput)(nil)).Elem(), GetCloudRoutersDataOrderArgs{}) @@ -41857,6 +42634,13 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionsPaginationPtrInput)(nil)).Elem(), GetConnectionsPaginationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionsSortInput)(nil)).Elem(), GetConnectionsSortArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionsSortArrayInput)(nil)).Elem(), GetConnectionsSortArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMarketplaceSubscriptionEntitlementInput)(nil)).Elem(), GetMarketplaceSubscriptionEntitlementArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMarketplaceSubscriptionEntitlementArrayInput)(nil)).Elem(), GetMarketplaceSubscriptionEntitlementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMarketplaceSubscriptionEntitlementAssetInput)(nil)).Elem(), GetMarketplaceSubscriptionEntitlementAssetArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMarketplaceSubscriptionEntitlementAssetArrayInput)(nil)).Elem(), GetMarketplaceSubscriptionEntitlementAssetArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMarketplaceSubscriptionEntitlementAssetPackageInput)(nil)).Elem(), GetMarketplaceSubscriptionEntitlementAssetPackageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMarketplaceSubscriptionEntitlementAssetPackageArrayInput)(nil)).Elem(), GetMarketplaceSubscriptionEntitlementAssetPackageArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMarketplaceSubscriptionTrialInput)(nil)).Elem(), GetMarketplaceSubscriptionTrialArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkChangeInput)(nil)).Elem(), GetNetworkChangeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkChangeLogInput)(nil)).Elem(), GetNetworkChangeLogArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkLocationInput)(nil)).Elem(), GetNetworkLocationArgs{}) @@ -42001,6 +42785,8 @@ func init() { pulumi.RegisterOutputType(CloudRouterChangeLogArrayOutput{}) pulumi.RegisterOutputType(CloudRouterLocationOutput{}) pulumi.RegisterOutputType(CloudRouterLocationPtrOutput{}) + pulumi.RegisterOutputType(CloudRouterMarketplaceSubscriptionOutput{}) + pulumi.RegisterOutputType(CloudRouterMarketplaceSubscriptionPtrOutput{}) pulumi.RegisterOutputType(CloudRouterNotificationOutput{}) pulumi.RegisterOutputType(CloudRouterNotificationArrayOutput{}) pulumi.RegisterOutputType(CloudRouterOrderOutput{}) @@ -42161,6 +42947,8 @@ func init() { pulumi.RegisterOutputType(GetCloudRouterChangeLogArrayOutput{}) pulumi.RegisterOutputType(GetCloudRouterLocationOutput{}) pulumi.RegisterOutputType(GetCloudRouterLocationArrayOutput{}) + pulumi.RegisterOutputType(GetCloudRouterMarketplaceSubscriptionOutput{}) + pulumi.RegisterOutputType(GetCloudRouterMarketplaceSubscriptionArrayOutput{}) pulumi.RegisterOutputType(GetCloudRouterNotificationOutput{}) pulumi.RegisterOutputType(GetCloudRouterNotificationArrayOutput{}) pulumi.RegisterOutputType(GetCloudRouterOrderOutput{}) @@ -42177,6 +42965,8 @@ func init() { pulumi.RegisterOutputType(GetCloudRoutersDataChangeLogArrayOutput{}) pulumi.RegisterOutputType(GetCloudRoutersDataLocationOutput{}) pulumi.RegisterOutputType(GetCloudRoutersDataLocationArrayOutput{}) + pulumi.RegisterOutputType(GetCloudRoutersDataMarketplaceSubscriptionOutput{}) + pulumi.RegisterOutputType(GetCloudRoutersDataMarketplaceSubscriptionArrayOutput{}) pulumi.RegisterOutputType(GetCloudRoutersDataNotificationOutput{}) pulumi.RegisterOutputType(GetCloudRoutersDataNotificationArrayOutput{}) pulumi.RegisterOutputType(GetCloudRoutersDataOrderOutput{}) @@ -42355,6 +43145,13 @@ func init() { pulumi.RegisterOutputType(GetConnectionsPaginationPtrOutput{}) pulumi.RegisterOutputType(GetConnectionsSortOutput{}) pulumi.RegisterOutputType(GetConnectionsSortArrayOutput{}) + pulumi.RegisterOutputType(GetMarketplaceSubscriptionEntitlementOutput{}) + pulumi.RegisterOutputType(GetMarketplaceSubscriptionEntitlementArrayOutput{}) + pulumi.RegisterOutputType(GetMarketplaceSubscriptionEntitlementAssetOutput{}) + pulumi.RegisterOutputType(GetMarketplaceSubscriptionEntitlementAssetArrayOutput{}) + pulumi.RegisterOutputType(GetMarketplaceSubscriptionEntitlementAssetPackageOutput{}) + pulumi.RegisterOutputType(GetMarketplaceSubscriptionEntitlementAssetPackageArrayOutput{}) + pulumi.RegisterOutputType(GetMarketplaceSubscriptionTrialOutput{}) pulumi.RegisterOutputType(GetNetworkChangeOutput{}) pulumi.RegisterOutputType(GetNetworkChangeLogOutput{}) pulumi.RegisterOutputType(GetNetworkLocationOutput{}) diff --git a/sdk/go/equinix/fabric/serviceProfile.go b/sdk/go/equinix/fabric/serviceProfile.go index 6a0ed87a..3817c120 100644 --- a/sdk/go/equinix/fabric/serviceProfile.go +++ b/sdk/go/equinix/fabric/serviceProfile.go @@ -108,13 +108,13 @@ type ServiceProfile struct { Ports ServiceProfilePortArrayOutput `pulumi:"ports"` // Project information Project ServiceProfileProjectPtrOutput `pulumi:"project"` - // 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 SelfProfile pulumi.BoolPtrOutput `pulumi:"selfProfile"` // Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED State pulumi.StringPtrOutput `pulumi:"state"` // Tags attached to the connection Tags pulumi.StringArrayOutput `pulumi:"tags"` - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE Type pulumi.StringOutput `pulumi:"type"` // Equinix assigned service profile identifier Uuid pulumi.StringOutput `pulumi:"uuid"` @@ -188,13 +188,13 @@ type serviceProfileState struct { Ports []ServiceProfilePort `pulumi:"ports"` // Project information Project *ServiceProfileProject `pulumi:"project"` - // 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 SelfProfile *bool `pulumi:"selfProfile"` // Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED State *string `pulumi:"state"` // Tags attached to the connection Tags []string `pulumi:"tags"` - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE Type *string `pulumi:"type"` // Equinix assigned service profile identifier Uuid *string `pulumi:"uuid"` @@ -233,13 +233,13 @@ type ServiceProfileState struct { Ports ServiceProfilePortArrayInput // Project information Project ServiceProfileProjectPtrInput - // 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 SelfProfile pulumi.BoolPtrInput // Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED State pulumi.StringPtrInput // Tags attached to the connection Tags pulumi.StringArrayInput - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE Type pulumi.StringPtrInput // Equinix assigned service profile identifier Uuid pulumi.StringPtrInput @@ -276,13 +276,13 @@ type serviceProfileArgs struct { Ports []ServiceProfilePort `pulumi:"ports"` // Project information Project *ServiceProfileProject `pulumi:"project"` - // 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 SelfProfile *bool `pulumi:"selfProfile"` // Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED State *string `pulumi:"state"` // Tags attached to the connection Tags []string `pulumi:"tags"` - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE Type string `pulumi:"type"` // Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide ViewPoint *string `pulumi:"viewPoint"` @@ -314,13 +314,13 @@ type ServiceProfileArgs struct { Ports ServiceProfilePortArrayInput // Project information Project ServiceProfileProjectPtrInput - // 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 SelfProfile pulumi.BoolPtrInput // Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED State pulumi.StringPtrInput // Tags attached to the connection Tags pulumi.StringArrayInput - // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + // Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE Type pulumi.StringInput // Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide ViewPoint pulumi.StringPtrInput @@ -484,7 +484,7 @@ func (o ServiceProfileOutput) Project() ServiceProfileProjectPtrOutput { return o.ApplyT(func(v *ServiceProfile) ServiceProfileProjectPtrOutput { return v.Project }).(ServiceProfileProjectPtrOutput) } -// 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 func (o ServiceProfileOutput) SelfProfile() pulumi.BoolPtrOutput { return o.ApplyT(func(v *ServiceProfile) pulumi.BoolPtrOutput { return v.SelfProfile }).(pulumi.BoolPtrOutput) } @@ -499,7 +499,7 @@ func (o ServiceProfileOutput) Tags() pulumi.StringArrayOutput { return o.ApplyT(func(v *ServiceProfile) pulumi.StringArrayOutput { return v.Tags }).(pulumi.StringArrayOutput) } -// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE +// Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE func (o ServiceProfileOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v *ServiceProfile) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) } diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 63034828..f29182cd 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -46,7 +46,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.14.0") + implementation("com.pulumi:pulumi:0.16.1") } task sourcesJar(type: Jar) { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/CloudRouter.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/CloudRouter.java index a817c70d..9788ec13 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/CloudRouter.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/CloudRouter.java @@ -9,6 +9,7 @@ import com.equinix.pulumi.fabric.outputs.CloudRouterAccount; import com.equinix.pulumi.fabric.outputs.CloudRouterChangeLog; import com.equinix.pulumi.fabric.outputs.CloudRouterLocation; +import com.equinix.pulumi.fabric.outputs.CloudRouterMarketplaceSubscription; import com.equinix.pulumi.fabric.outputs.CloudRouterNotification; import com.equinix.pulumi.fabric.outputs.CloudRouterOrder; import com.equinix.pulumi.fabric.outputs.CloudRouterPackage; @@ -31,6 +32,7 @@ * * API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#fabric-cloud-routers * * ## Example Usage + * ### example 1 *
  * {@code
  * package generated_program;
@@ -89,6 +91,66 @@
  * }}{@code
  * }
  * 
+ * ### example 2 + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.equinix.fabric.CloudRouter;
+ * import com.pulumi.equinix.fabric.CloudRouterArgs;
+ * import com.pulumi.equinix.fabric.inputs.CloudRouterNotificationArgs;
+ * import com.pulumi.equinix.fabric.inputs.CloudRouterOrderArgs;
+ * import com.pulumi.equinix.fabric.inputs.CloudRouterLocationArgs;
+ * import com.pulumi.equinix.fabric.inputs.CloudRouterPackageArgs;
+ * import com.pulumi.equinix.fabric.inputs.CloudRouterProjectArgs;
+ * import com.pulumi.equinix.fabric.inputs.CloudRouterMarketplaceSubscriptionArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App }{{@code
+ *     public static void main(String[] args) }{{@code
+ *         Pulumi.run(App::stack);
+ *     }}{@code
+ * 
+ *     public static void stack(Context ctx) }{{@code
+ *         var newCloudRouter = new CloudRouter("newCloudRouter", CloudRouterArgs.builder()
+ *             .name("Router-SV")
+ *             .type("XF_ROUTER")
+ *             .notifications(CloudRouterNotificationArgs.builder()
+ *                 .type("ALL")
+ *                 .emails(                
+ *                     "example}{@literal @}{@code equinix.com",
+ *                     "test1}{@literal @}{@code equinix.com")
+ *                 .build())
+ *             .order(CloudRouterOrderArgs.builder()
+ *                 .purchaseOrderNumber("1-323292")
+ *                 .build())
+ *             .location(CloudRouterLocationArgs.builder()
+ *                 .metroCode("SV")
+ *                 .build())
+ *             .package_(CloudRouterPackageArgs.builder()
+ *                 .code("STANDARD")
+ *                 .build())
+ *             .project(CloudRouterProjectArgs.builder()
+ *                 .projectId("776847000642406")
+ *                 .build())
+ *             .marketplaceSubscription(CloudRouterMarketplaceSubscriptionArgs.builder()
+ *                 .type("AWS_MARKETPLACE_SUBSCRIPTION")
+ *                 .uuid("2823b8ae07-a2a2-45b4-a658-c3542bb24e9")
+ *                 .build())
+ *             .build());
+ * 
+ *     }}{@code
+ * }}{@code
+ * }
+ * 
* */ @ResourceType(type="equinix:fabric/cloudRouter:CloudRouter") @@ -247,6 +309,20 @@ public Output href() { public Output location() { return this.location; } + /** + * Equinix Fabric Entity for Marketplace Subscription + * + */ + @Export(name="marketplaceSubscription", refs={CloudRouterMarketplaceSubscription.class}, tree="[0]") + private Output marketplaceSubscription; + + /** + * @return Equinix Fabric Entity for Marketplace Subscription + * + */ + public Output marketplaceSubscription() { + return this.marketplaceSubscription; + } /** * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/CloudRouterArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/CloudRouterArgs.java index 3ad2e305..b54bfd2f 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/CloudRouterArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/CloudRouterArgs.java @@ -5,6 +5,7 @@ import com.equinix.pulumi.fabric.inputs.CloudRouterAccountArgs; import com.equinix.pulumi.fabric.inputs.CloudRouterLocationArgs; +import com.equinix.pulumi.fabric.inputs.CloudRouterMarketplaceSubscriptionArgs; import com.equinix.pulumi.fabric.inputs.CloudRouterNotificationArgs; import com.equinix.pulumi.fabric.inputs.CloudRouterOrderArgs; import com.equinix.pulumi.fabric.inputs.CloudRouterPackageArgs; @@ -27,15 +28,15 @@ public final class CloudRouterArgs extends com.pulumi.resources.ResourceArgs { * Customer account information that is associated with this Fabric Cloud Router * */ - @Import(name="account", required=true) - private Output account; + @Import(name="account") + private @Nullable Output account; /** * @return Customer account information that is associated with this Fabric Cloud Router * */ - public Output account() { - return this.account; + public Optional> account() { + return Optional.ofNullable(this.account); } /** @@ -83,6 +84,21 @@ public Output location() { return this.location; } + /** + * Equinix Fabric Entity for Marketplace Subscription + * + */ + @Import(name="marketplaceSubscription") + private @Nullable Output marketplaceSubscription; + + /** + * @return Equinix Fabric Entity for Marketplace Subscription + * + */ + public Optional> marketplaceSubscription() { + return Optional.ofNullable(this.marketplaceSubscription); + } + /** * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores * @@ -195,6 +211,7 @@ private CloudRouterArgs(CloudRouterArgs $) { this.description = $.description; this.href = $.href; this.location = $.location; + this.marketplaceSubscription = $.marketplaceSubscription; this.name = $.name; this.notifications = $.notifications; this.order = $.order; @@ -228,7 +245,7 @@ public Builder(CloudRouterArgs defaults) { * @return builder * */ - public Builder account(Output account) { + public Builder account(@Nullable Output account) { $.account = account; return this; } @@ -306,6 +323,27 @@ public Builder location(CloudRouterLocationArgs location) { return location(Output.of(location)); } + /** + * @param marketplaceSubscription Equinix Fabric Entity for Marketplace Subscription + * + * @return builder + * + */ + public Builder marketplaceSubscription(@Nullable Output marketplaceSubscription) { + $.marketplaceSubscription = marketplaceSubscription; + return this; + } + + /** + * @param marketplaceSubscription Equinix Fabric Entity for Marketplace Subscription + * + * @return builder + * + */ + public Builder marketplaceSubscription(CloudRouterMarketplaceSubscriptionArgs marketplaceSubscription) { + return marketplaceSubscription(Output.of(marketplaceSubscription)); + } + /** * @param name Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores * @@ -464,9 +502,6 @@ public Builder uuid(String uuid) { } public CloudRouterArgs build() { - if ($.account == null) { - throw new MissingRequiredPropertyException("CloudRouterArgs", "account"); - } if ($.location == null) { throw new MissingRequiredPropertyException("CloudRouterArgs", "location"); } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/FabricFunctions.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/FabricFunctions.java index cd94961f..9b8e7e79 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/FabricFunctions.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/FabricFunctions.java @@ -12,6 +12,8 @@ import com.equinix.pulumi.fabric.inputs.GetConnectionPlainArgs; import com.equinix.pulumi.fabric.inputs.GetConnectionsArgs; import com.equinix.pulumi.fabric.inputs.GetConnectionsPlainArgs; +import com.equinix.pulumi.fabric.inputs.GetMarketplaceSubscriptionArgs; +import com.equinix.pulumi.fabric.inputs.GetMarketplaceSubscriptionPlainArgs; import com.equinix.pulumi.fabric.inputs.GetNetworkArgs; import com.equinix.pulumi.fabric.inputs.GetNetworkPlainArgs; import com.equinix.pulumi.fabric.inputs.GetNetworksArgs; @@ -30,6 +32,7 @@ import com.equinix.pulumi.fabric.outputs.GetCloudRoutersResult; import com.equinix.pulumi.fabric.outputs.GetConnectionResult; import com.equinix.pulumi.fabric.outputs.GetConnectionsResult; +import com.equinix.pulumi.fabric.outputs.GetMarketplaceSubscriptionResult; import com.equinix.pulumi.fabric.outputs.GetNetworkResult; import com.equinix.pulumi.fabric.outputs.GetNetworksResult; import com.equinix.pulumi.fabric.outputs.GetPortResult; @@ -600,6 +603,194 @@ public static Output getConnections(GetConnectionsArgs arg public static CompletableFuture getConnectionsPlain(GetConnectionsPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("equinix:fabric/getConnections:getConnections", TypeShape.of(GetConnectionsResult.class), args, Utilities.withVersion(options)); } + /** + * Fabric V4 API compatible data resource that allow user to fetch Marketplace Subscription detail for a given UUID + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.equinix.fabric.FabricFunctions;
+     * import com.pulumi.equinix.fabric.inputs.GetMarketplaceSubscriptionArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var subscription-test = FabricFunctions.getMarketplaceSubscription(GetMarketplaceSubscriptionArgs.builder()
+     *             .uuid("")
+     *             .build());
+     * 
+     *         ctx.export("id", subscription_test.id());
+     *         ctx.export("status", subscription_test.status());
+     *         ctx.export("marketplace", subscription_test.marketplace());
+     *         ctx.export("offerType", subscription_test.offerType());
+     *         ctx.export("isAutoRenew", subscription_test.isAutoRenew());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMarketplaceSubscription(GetMarketplaceSubscriptionArgs args) { + return getMarketplaceSubscription(args, InvokeOptions.Empty); + } + /** + * Fabric V4 API compatible data resource that allow user to fetch Marketplace Subscription detail for a given UUID + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.equinix.fabric.FabricFunctions;
+     * import com.pulumi.equinix.fabric.inputs.GetMarketplaceSubscriptionArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var subscription-test = FabricFunctions.getMarketplaceSubscription(GetMarketplaceSubscriptionArgs.builder()
+     *             .uuid("")
+     *             .build());
+     * 
+     *         ctx.export("id", subscription_test.id());
+     *         ctx.export("status", subscription_test.status());
+     *         ctx.export("marketplace", subscription_test.marketplace());
+     *         ctx.export("offerType", subscription_test.offerType());
+     *         ctx.export("isAutoRenew", subscription_test.isAutoRenew());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getMarketplaceSubscriptionPlain(GetMarketplaceSubscriptionPlainArgs args) { + return getMarketplaceSubscriptionPlain(args, InvokeOptions.Empty); + } + /** + * Fabric V4 API compatible data resource that allow user to fetch Marketplace Subscription detail for a given UUID + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.equinix.fabric.FabricFunctions;
+     * import com.pulumi.equinix.fabric.inputs.GetMarketplaceSubscriptionArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var subscription-test = FabricFunctions.getMarketplaceSubscription(GetMarketplaceSubscriptionArgs.builder()
+     *             .uuid("")
+     *             .build());
+     * 
+     *         ctx.export("id", subscription_test.id());
+     *         ctx.export("status", subscription_test.status());
+     *         ctx.export("marketplace", subscription_test.marketplace());
+     *         ctx.export("offerType", subscription_test.offerType());
+     *         ctx.export("isAutoRenew", subscription_test.isAutoRenew());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getMarketplaceSubscription(GetMarketplaceSubscriptionArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("equinix:fabric/getMarketplaceSubscription:getMarketplaceSubscription", TypeShape.of(GetMarketplaceSubscriptionResult.class), args, Utilities.withVersion(options)); + } + /** + * Fabric V4 API compatible data resource that allow user to fetch Marketplace Subscription detail for a given UUID + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.equinix.fabric.FabricFunctions;
+     * import com.pulumi.equinix.fabric.inputs.GetMarketplaceSubscriptionArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var subscription-test = FabricFunctions.getMarketplaceSubscription(GetMarketplaceSubscriptionArgs.builder()
+     *             .uuid("")
+     *             .build());
+     * 
+     *         ctx.export("id", subscription_test.id());
+     *         ctx.export("status", subscription_test.status());
+     *         ctx.export("marketplace", subscription_test.marketplace());
+     *         ctx.export("offerType", subscription_test.offerType());
+     *         ctx.export("isAutoRenew", subscription_test.isAutoRenew());
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getMarketplaceSubscriptionPlain(GetMarketplaceSubscriptionPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("equinix:fabric/getMarketplaceSubscription:getMarketplaceSubscription", TypeShape.of(GetMarketplaceSubscriptionResult.class), args, Utilities.withVersion(options)); + } /** * Fabric V4 API compatible data resource that allow user to fetch Fabric Network for a given UUID * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/ServiceProfile.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/ServiceProfile.java index 16fa25de..34db51fe 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/ServiceProfile.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/ServiceProfile.java @@ -280,14 +280,14 @@ public Output> project() { return Codegen.optional(this.project); } /** - * 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 * */ @Export(name="selfProfile", refs={Boolean.class}, tree="[0]") private Output selfProfile; /** - * @return Self Profile indicating if the profile is created for customer's self use + * @return Self Profile indicating if the profile is created for customer's self use * */ public Output> selfProfile() { @@ -322,14 +322,14 @@ public Output>> tags() { return Codegen.optional(this.tags); } /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * */ @Export(name="type", refs={String.class}, tree="[0]") private Output type; /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * */ public Output type() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/ServiceProfileArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/ServiceProfileArgs.java index 4bc230de..540226a7 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/ServiceProfileArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/ServiceProfileArgs.java @@ -181,14 +181,14 @@ public Optional> project() { } /** - * 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 * */ @Import(name="selfProfile") private @Nullable Output selfProfile; /** - * @return Self Profile indicating if the profile is created for customer's self use + * @return Self Profile indicating if the profile is created for customer's self use * */ public Optional> selfProfile() { @@ -226,14 +226,14 @@ public Optional>> tags() { } /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * */ @Import(name="type", required=true) private Output> type; /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * */ public Output> type() { @@ -596,7 +596,7 @@ public Builder project(ServiceProfileProjectArgs project) { } /** - * @param selfProfile Self Profile indicating if the profile is created for customer's self use + * @param selfProfile Self Profile indicating if the profile is created for customer's self use * * @return builder * @@ -607,7 +607,7 @@ public Builder selfProfile(@Nullable Output selfProfile) { } /** - * @param selfProfile Self Profile indicating if the profile is created for customer's self use + * @param selfProfile Self Profile indicating if the profile is created for customer's self use * * @return builder * @@ -689,7 +689,7 @@ public Builder tags(String... tags) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * * @return builder * @@ -700,7 +700,7 @@ public Builder type(Output> type) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * * @return builder * @@ -710,7 +710,7 @@ public Builder type(Either type) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * * @return builder * @@ -720,7 +720,7 @@ public Builder type(String type) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterAccountArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterAccountArgs.java index 831ab162..f59f94f6 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterAccountArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterAccountArgs.java @@ -5,10 +5,9 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; public final class CloudRouterAccountArgs extends com.pulumi.resources.ResourceArgs { @@ -19,15 +18,15 @@ public final class CloudRouterAccountArgs extends com.pulumi.resources.ResourceA * Account Number * */ - @Import(name="accountNumber") - private @Nullable Output accountNumber; + @Import(name="accountNumber", required=true) + private Output accountNumber; /** * @return Account Number * */ - public Optional> accountNumber() { - return Optional.ofNullable(this.accountNumber); + public Output accountNumber() { + return this.accountNumber; } private CloudRouterAccountArgs() {} @@ -60,7 +59,7 @@ public Builder(CloudRouterAccountArgs defaults) { * @return builder * */ - public Builder accountNumber(@Nullable Output accountNumber) { + public Builder accountNumber(Output accountNumber) { $.accountNumber = accountNumber; return this; } @@ -76,6 +75,9 @@ public Builder accountNumber(Integer accountNumber) { } public CloudRouterAccountArgs build() { + if ($.accountNumber == null) { + throw new MissingRequiredPropertyException("CloudRouterAccountArgs", "accountNumber"); + } return $; } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterMarketplaceSubscriptionArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterMarketplaceSubscriptionArgs.java new file mode 100644 index 00000000..06cfc66c --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterMarketplaceSubscriptionArgs.java @@ -0,0 +1,124 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.equinix.pulumi.fabric.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class CloudRouterMarketplaceSubscriptionArgs extends com.pulumi.resources.ResourceArgs { + + public static final CloudRouterMarketplaceSubscriptionArgs Empty = new CloudRouterMarketplaceSubscriptionArgs(); + + /** + * Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + * + */ + @Import(name="type") + private @Nullable Output type; + + /** + * @return Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + * + */ + public Optional> type() { + return Optional.ofNullable(this.type); + } + + /** + * Equinix-assigned Marketplace Subscription identifier + * + */ + @Import(name="uuid", required=true) + private Output uuid; + + /** + * @return Equinix-assigned Marketplace Subscription identifier + * + */ + public Output uuid() { + return this.uuid; + } + + private CloudRouterMarketplaceSubscriptionArgs() {} + + private CloudRouterMarketplaceSubscriptionArgs(CloudRouterMarketplaceSubscriptionArgs $) { + this.type = $.type; + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(CloudRouterMarketplaceSubscriptionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private CloudRouterMarketplaceSubscriptionArgs $; + + public Builder() { + $ = new CloudRouterMarketplaceSubscriptionArgs(); + } + + public Builder(CloudRouterMarketplaceSubscriptionArgs defaults) { + $ = new CloudRouterMarketplaceSubscriptionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param type Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + * + * @return builder + * + */ + public Builder type(@Nullable Output type) { + $.type = type; + return this; + } + + /** + * @param type Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + /** + * @param uuid Equinix-assigned Marketplace Subscription identifier + * + * @return builder + * + */ + public Builder uuid(Output uuid) { + $.uuid = uuid; + return this; + } + + /** + * @param uuid Equinix-assigned Marketplace Subscription identifier + * + * @return builder + * + */ + public Builder uuid(String uuid) { + return uuid(Output.of(uuid)); + } + + public CloudRouterMarketplaceSubscriptionArgs build() { + if ($.uuid == null) { + throw new MissingRequiredPropertyException("CloudRouterMarketplaceSubscriptionArgs", "uuid"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterState.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterState.java index 28fe8ee3..9db57094 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterState.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/CloudRouterState.java @@ -6,6 +6,7 @@ import com.equinix.pulumi.fabric.inputs.CloudRouterAccountArgs; import com.equinix.pulumi.fabric.inputs.CloudRouterChangeLogArgs; import com.equinix.pulumi.fabric.inputs.CloudRouterLocationArgs; +import com.equinix.pulumi.fabric.inputs.CloudRouterMarketplaceSubscriptionArgs; import com.equinix.pulumi.fabric.inputs.CloudRouterNotificationArgs; import com.equinix.pulumi.fabric.inputs.CloudRouterOrderArgs; import com.equinix.pulumi.fabric.inputs.CloudRouterPackageArgs; @@ -189,6 +190,21 @@ public Optional> location() { return Optional.ofNullable(this.location); } + /** + * Equinix Fabric Entity for Marketplace Subscription + * + */ + @Import(name="marketplaceSubscription") + private @Nullable Output marketplaceSubscription; + + /** + * @return Equinix Fabric Entity for Marketplace Subscription + * + */ + public Optional> marketplaceSubscription() { + return Optional.ofNullable(this.marketplaceSubscription); + } + /** * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores * @@ -323,6 +339,7 @@ private CloudRouterState(CloudRouterState $) { this.equinixAsn = $.equinixAsn; this.href = $.href; this.location = $.location; + this.marketplaceSubscription = $.marketplaceSubscription; this.name = $.name; this.notifications = $.notifications; this.order = $.order; @@ -592,6 +609,27 @@ public Builder location(CloudRouterLocationArgs location) { return location(Output.of(location)); } + /** + * @param marketplaceSubscription Equinix Fabric Entity for Marketplace Subscription + * + * @return builder + * + */ + public Builder marketplaceSubscription(@Nullable Output marketplaceSubscription) { + $.marketplaceSubscription = marketplaceSubscription; + return this; + } + + /** + * @param marketplaceSubscription Equinix Fabric Entity for Marketplace Subscription + * + * @return builder + * + */ + public Builder marketplaceSubscription(CloudRouterMarketplaceSubscriptionArgs marketplaceSubscription) { + return marketplaceSubscription(Output.of(marketplaceSubscription)); + } + /** * @param name Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionsFilter.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionsFilter.java index 45457f80..fa51dd68 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionsFilter.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionsFilter.java @@ -47,14 +47,14 @@ public String operator() { } /** - * Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + * Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] * */ @Import(name="property", required=true) private String property; /** - * @return Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + * @return Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] * */ public String property() { @@ -126,7 +126,7 @@ public Builder operator(String operator) { } /** - * @param property Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + * @param property Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionsFilterArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionsFilterArgs.java index 3639e9af..bdca372c 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionsFilterArgs.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetConnectionsFilterArgs.java @@ -48,14 +48,14 @@ public Output operator() { } /** - * Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + * Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] * */ @Import(name="property", required=true) private Output property; /** - * @return Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + * @return Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] * */ public Output property() { @@ -147,7 +147,7 @@ public Builder operator(String operator) { } /** - * @param property Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + * @param property Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] * * @return builder * @@ -158,7 +158,7 @@ public Builder property(Output property) { } /** - * @param property Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + * @param property Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetMarketplaceSubscriptionArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetMarketplaceSubscriptionArgs.java new file mode 100644 index 00000000..7ada7ab1 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetMarketplaceSubscriptionArgs.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.equinix.pulumi.fabric.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetMarketplaceSubscriptionArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMarketplaceSubscriptionArgs Empty = new GetMarketplaceSubscriptionArgs(); + + /** + * Equinix-assigned marketplace identifier + * + */ + @Import(name="uuid", required=true) + private Output uuid; + + /** + * @return Equinix-assigned marketplace identifier + * + */ + public Output uuid() { + return this.uuid; + } + + private GetMarketplaceSubscriptionArgs() {} + + private GetMarketplaceSubscriptionArgs(GetMarketplaceSubscriptionArgs $) { + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMarketplaceSubscriptionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMarketplaceSubscriptionArgs $; + + public Builder() { + $ = new GetMarketplaceSubscriptionArgs(); + } + + public Builder(GetMarketplaceSubscriptionArgs defaults) { + $ = new GetMarketplaceSubscriptionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param uuid Equinix-assigned marketplace identifier + * + * @return builder + * + */ + public Builder uuid(Output uuid) { + $.uuid = uuid; + return this; + } + + /** + * @param uuid Equinix-assigned marketplace identifier + * + * @return builder + * + */ + public Builder uuid(String uuid) { + return uuid(Output.of(uuid)); + } + + public GetMarketplaceSubscriptionArgs build() { + if ($.uuid == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionArgs", "uuid"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetMarketplaceSubscriptionPlainArgs.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetMarketplaceSubscriptionPlainArgs.java new file mode 100644 index 00000000..2bdc0c89 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/GetMarketplaceSubscriptionPlainArgs.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.equinix.pulumi.fabric.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetMarketplaceSubscriptionPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetMarketplaceSubscriptionPlainArgs Empty = new GetMarketplaceSubscriptionPlainArgs(); + + /** + * Equinix-assigned marketplace identifier + * + */ + @Import(name="uuid", required=true) + private String uuid; + + /** + * @return Equinix-assigned marketplace identifier + * + */ + public String uuid() { + return this.uuid; + } + + private GetMarketplaceSubscriptionPlainArgs() {} + + private GetMarketplaceSubscriptionPlainArgs(GetMarketplaceSubscriptionPlainArgs $) { + this.uuid = $.uuid; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetMarketplaceSubscriptionPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetMarketplaceSubscriptionPlainArgs $; + + public Builder() { + $ = new GetMarketplaceSubscriptionPlainArgs(); + } + + public Builder(GetMarketplaceSubscriptionPlainArgs defaults) { + $ = new GetMarketplaceSubscriptionPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param uuid Equinix-assigned marketplace identifier + * + * @return builder + * + */ + public Builder uuid(String uuid) { + $.uuid = uuid; + return this; + } + + public GetMarketplaceSubscriptionPlainArgs build() { + if ($.uuid == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionPlainArgs", "uuid"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileState.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileState.java index 6461a70f..9a144c1b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileState.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/inputs/ServiceProfileState.java @@ -227,14 +227,14 @@ public Optional> project() { } /** - * 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 * */ @Import(name="selfProfile") private @Nullable Output selfProfile; /** - * @return Self Profile indicating if the profile is created for customer's self use + * @return Self Profile indicating if the profile is created for customer's self use * */ public Optional> selfProfile() { @@ -272,14 +272,14 @@ public Optional>> tags() { } /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * */ @Import(name="type") private @Nullable Output> type; /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * */ public Optional>> type() { @@ -724,7 +724,7 @@ public Builder project(ServiceProfileProjectArgs project) { } /** - * @param selfProfile Self Profile indicating if the profile is created for customer's self use + * @param selfProfile Self Profile indicating if the profile is created for customer's self use * * @return builder * @@ -735,7 +735,7 @@ public Builder selfProfile(@Nullable Output selfProfile) { } /** - * @param selfProfile Self Profile indicating if the profile is created for customer's self use + * @param selfProfile Self Profile indicating if the profile is created for customer's self use * * @return builder * @@ -817,7 +817,7 @@ public Builder tags(String... tags) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * * @return builder * @@ -828,7 +828,7 @@ public Builder type(@Nullable Output> type) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * * @return builder * @@ -838,7 +838,7 @@ public Builder type(Either type) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * * @return builder * @@ -848,7 +848,7 @@ public Builder type(String type) { } /** - * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @param type Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * * @return builder * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterAccount.java index efb0ba7b..7137b376 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterAccount.java @@ -4,10 +4,9 @@ package com.equinix.pulumi.fabric.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.Integer; import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; @CustomType public final class CloudRouterAccount { @@ -15,15 +14,15 @@ public final class CloudRouterAccount { * @return Account Number * */ - private @Nullable Integer accountNumber; + private Integer accountNumber; private CloudRouterAccount() {} /** * @return Account Number * */ - public Optional accountNumber() { - return Optional.ofNullable(this.accountNumber); + public Integer accountNumber() { + return this.accountNumber; } public static Builder builder() { @@ -35,7 +34,7 @@ public static Builder builder(CloudRouterAccount defaults) { } @CustomType.Builder public static final class Builder { - private @Nullable Integer accountNumber; + private Integer accountNumber; public Builder() {} public Builder(CloudRouterAccount defaults) { Objects.requireNonNull(defaults); @@ -43,8 +42,10 @@ public Builder(CloudRouterAccount defaults) { } @CustomType.Setter - public Builder accountNumber(@Nullable Integer accountNumber) { - + public Builder accountNumber(Integer accountNumber) { + if (accountNumber == null) { + throw new MissingRequiredPropertyException("CloudRouterAccount", "accountNumber"); + } this.accountNumber = accountNumber; return this; } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterMarketplaceSubscription.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterMarketplaceSubscription.java new file mode 100644 index 00000000..9fff8614 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterMarketplaceSubscription.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.equinix.pulumi.fabric.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class CloudRouterMarketplaceSubscription { + /** + * @return Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + * + */ + private @Nullable String type; + /** + * @return Equinix-assigned Marketplace Subscription identifier + * + */ + private String uuid; + + private CloudRouterMarketplaceSubscription() {} + /** + * @return Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + * + */ + public Optional type() { + return Optional.ofNullable(this.type); + } + /** + * @return Equinix-assigned Marketplace Subscription identifier + * + */ + public String uuid() { + return this.uuid; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(CloudRouterMarketplaceSubscription defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String type; + private String uuid; + public Builder() {} + public Builder(CloudRouterMarketplaceSubscription defaults) { + Objects.requireNonNull(defaults); + this.type = defaults.type; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder type(@Nullable String type) { + + this.type = type; + return this; + } + @CustomType.Setter + public Builder uuid(String uuid) { + if (uuid == null) { + throw new MissingRequiredPropertyException("CloudRouterMarketplaceSubscription", "uuid"); + } + this.uuid = uuid; + return this; + } + public CloudRouterMarketplaceSubscription build() { + final var _resultValue = new CloudRouterMarketplaceSubscription(); + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterMarketplaceSubscription.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterMarketplaceSubscription.java new file mode 100644 index 00000000..6732d13a --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterMarketplaceSubscription.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.equinix.pulumi.fabric.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetCloudRouterMarketplaceSubscription { + /** + * @return Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + * + */ + private String type; + /** + * @return Equinix-assigned Marketplace Subscription identifier + * + */ + private String uuid; + + private GetCloudRouterMarketplaceSubscription() {} + /** + * @return Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + * + */ + public String type() { + return this.type; + } + /** + * @return Equinix-assigned Marketplace Subscription identifier + * + */ + public String uuid() { + return this.uuid; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCloudRouterMarketplaceSubscription defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String type; + private String uuid; + public Builder() {} + public Builder(GetCloudRouterMarketplaceSubscription defaults) { + Objects.requireNonNull(defaults); + this.type = defaults.type; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudRouterMarketplaceSubscription", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder uuid(String uuid) { + if (uuid == null) { + throw new MissingRequiredPropertyException("GetCloudRouterMarketplaceSubscription", "uuid"); + } + this.uuid = uuid; + return this; + } + public GetCloudRouterMarketplaceSubscription build() { + final var _resultValue = new GetCloudRouterMarketplaceSubscription(); + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterResult.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterResult.java index 73f7cef2..65e19805 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterResult.java @@ -6,6 +6,7 @@ import com.equinix.pulumi.fabric.outputs.GetCloudRouterAccount; import com.equinix.pulumi.fabric.outputs.GetCloudRouterChangeLog; import com.equinix.pulumi.fabric.outputs.GetCloudRouterLocation; +import com.equinix.pulumi.fabric.outputs.GetCloudRouterMarketplaceSubscription; import com.equinix.pulumi.fabric.outputs.GetCloudRouterNotification; import com.equinix.pulumi.fabric.outputs.GetCloudRouterOrder; import com.equinix.pulumi.fabric.outputs.GetCloudRouterPackage; @@ -79,6 +80,11 @@ public final class GetCloudRouterResult { * */ private List locations; + /** + * @return Equinix Fabric Entity for Marketplace Subscription + * + */ + private List marketplaceSubscriptions; /** * @return Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores * @@ -100,7 +106,7 @@ public final class GetCloudRouterResult { */ private List packages; /** - * @return Customer resource hierarchy project information.Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects + * @return Customer resource hierarchy project information. Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects * */ private List projects; @@ -205,6 +211,13 @@ public String id() { public List locations() { return this.locations; } + /** + * @return Equinix Fabric Entity for Marketplace Subscription + * + */ + public List marketplaceSubscriptions() { + return this.marketplaceSubscriptions; + } /** * @return Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores * @@ -234,7 +247,7 @@ public List packages() { return this.packages; } /** - * @return Customer resource hierarchy project information.Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects + * @return Customer resource hierarchy project information. Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects * */ public List projects() { @@ -283,6 +296,7 @@ public static final class Builder { private String href; private String id; private List locations; + private List marketplaceSubscriptions; private String name; private List notifications; private List orders; @@ -306,6 +320,7 @@ public Builder(GetCloudRouterResult defaults) { this.href = defaults.href; this.id = defaults.id; this.locations = defaults.locations; + this.marketplaceSubscriptions = defaults.marketplaceSubscriptions; this.name = defaults.name; this.notifications = defaults.notifications; this.orders = defaults.orders; @@ -422,6 +437,17 @@ public Builder locations(GetCloudRouterLocation... locations) { return locations(List.of(locations)); } @CustomType.Setter + public Builder marketplaceSubscriptions(List marketplaceSubscriptions) { + if (marketplaceSubscriptions == null) { + throw new MissingRequiredPropertyException("GetCloudRouterResult", "marketplaceSubscriptions"); + } + this.marketplaceSubscriptions = marketplaceSubscriptions; + return this; + } + public Builder marketplaceSubscriptions(GetCloudRouterMarketplaceSubscription... marketplaceSubscriptions) { + return marketplaceSubscriptions(List.of(marketplaceSubscriptions)); + } + @CustomType.Setter public Builder name(String name) { if (name == null) { throw new MissingRequiredPropertyException("GetCloudRouterResult", "name"); @@ -511,6 +537,7 @@ public GetCloudRouterResult build() { _resultValue.href = href; _resultValue.id = id; _resultValue.locations = locations; + _resultValue.marketplaceSubscriptions = marketplaceSubscriptions; _resultValue.name = name; _resultValue.notifications = notifications; _resultValue.orders = orders; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRoutersData.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRoutersData.java index 29077429..2a1fc537 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRoutersData.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRoutersData.java @@ -6,6 +6,7 @@ import com.equinix.pulumi.fabric.outputs.GetCloudRoutersDataAccount; import com.equinix.pulumi.fabric.outputs.GetCloudRoutersDataChangeLog; import com.equinix.pulumi.fabric.outputs.GetCloudRoutersDataLocation; +import com.equinix.pulumi.fabric.outputs.GetCloudRoutersDataMarketplaceSubscription; import com.equinix.pulumi.fabric.outputs.GetCloudRoutersDataNotification; import com.equinix.pulumi.fabric.outputs.GetCloudRoutersDataOrder; import com.equinix.pulumi.fabric.outputs.GetCloudRoutersDataPackage; @@ -74,6 +75,11 @@ public final class GetCloudRoutersData { * */ private List locations; + /** + * @return Equinix Fabric Entity for Marketplace Subscription + * + */ + private List marketplaceSubscriptions; /** * @return Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores * @@ -193,6 +199,13 @@ public String href() { public List locations() { return this.locations; } + /** + * @return Equinix Fabric Entity for Marketplace Subscription + * + */ + public List marketplaceSubscriptions() { + return this.marketplaceSubscriptions; + } /** * @return Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores * @@ -270,6 +283,7 @@ public static final class Builder { private Integer equinixAsn; private String href; private List locations; + private List marketplaceSubscriptions; private String name; private List notifications; private List orders; @@ -292,6 +306,7 @@ public Builder(GetCloudRoutersData defaults) { this.equinixAsn = defaults.equinixAsn; this.href = defaults.href; this.locations = defaults.locations; + this.marketplaceSubscriptions = defaults.marketplaceSubscriptions; this.name = defaults.name; this.notifications = defaults.notifications; this.orders = defaults.orders; @@ -400,6 +415,17 @@ public Builder locations(GetCloudRoutersDataLocation... locations) { return locations(List.of(locations)); } @CustomType.Setter + public Builder marketplaceSubscriptions(List marketplaceSubscriptions) { + if (marketplaceSubscriptions == null) { + throw new MissingRequiredPropertyException("GetCloudRoutersData", "marketplaceSubscriptions"); + } + this.marketplaceSubscriptions = marketplaceSubscriptions; + return this; + } + public Builder marketplaceSubscriptions(GetCloudRoutersDataMarketplaceSubscription... marketplaceSubscriptions) { + return marketplaceSubscriptions(List.of(marketplaceSubscriptions)); + } + @CustomType.Setter public Builder name(String name) { if (name == null) { throw new MissingRequiredPropertyException("GetCloudRoutersData", "name"); @@ -488,6 +514,7 @@ public GetCloudRoutersData build() { _resultValue.equinixAsn = equinixAsn; _resultValue.href = href; _resultValue.locations = locations; + _resultValue.marketplaceSubscriptions = marketplaceSubscriptions; _resultValue.name = name; _resultValue.notifications = notifications; _resultValue.orders = orders; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRoutersDataMarketplaceSubscription.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRoutersDataMarketplaceSubscription.java new file mode 100644 index 00000000..1bc30c0e --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRoutersDataMarketplaceSubscription.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.equinix.pulumi.fabric.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetCloudRoutersDataMarketplaceSubscription { + /** + * @return Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + * + */ + private String type; + /** + * @return Equinix-assigned Marketplace Subscription identifier + * + */ + private String uuid; + + private GetCloudRoutersDataMarketplaceSubscription() {} + /** + * @return Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + * + */ + public String type() { + return this.type; + } + /** + * @return Equinix-assigned Marketplace Subscription identifier + * + */ + public String uuid() { + return this.uuid; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetCloudRoutersDataMarketplaceSubscription defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String type; + private String uuid; + public Builder() {} + public Builder(GetCloudRoutersDataMarketplaceSubscription defaults) { + Objects.requireNonNull(defaults); + this.type = defaults.type; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetCloudRoutersDataMarketplaceSubscription", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder uuid(String uuid) { + if (uuid == null) { + throw new MissingRequiredPropertyException("GetCloudRoutersDataMarketplaceSubscription", "uuid"); + } + this.uuid = uuid; + return this; + } + public GetCloudRoutersDataMarketplaceSubscription build() { + final var _resultValue = new GetCloudRoutersDataMarketplaceSubscription(); + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfig.java index b8c678eb..dda2d22c 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfig.java @@ -11,26 +11,26 @@ @CustomType public final class GetConnectionASideAccessPointProfileAccessPointTypeConfig { /** - * @return Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + * @return Type of access point type config - VD, COLO * */ private String type; /** - * @return Equinix-assigned connection identifier + * @return Equinix-assigned access point type config identifier * */ private String uuid; private GetConnectionASideAccessPointProfileAccessPointTypeConfig() {} /** - * @return Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + * @return Type of access point type config - VD, COLO * */ public String type() { return this.type; } /** - * @return Equinix-assigned connection identifier + * @return Equinix-assigned access point type config identifier * */ public String uuid() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionResult.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionResult.java index d3c9d2b6..6e8f20d1 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionResult.java @@ -110,7 +110,7 @@ public final class GetConnectionResult { */ private String state; /** - * @return Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + * @return 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 * */ private String type; @@ -246,7 +246,7 @@ public String state() { return this.state; } /** - * @return Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + * @return 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 * */ public String type() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfig.java index 1df5b1a0..6f1675ce 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfig.java @@ -11,26 +11,26 @@ @CustomType public final class GetConnectionZSideAccessPointProfileAccessPointTypeConfig { /** - * @return Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + * @return Type of access point type config - VD, COLO * */ private String type; /** - * @return Equinix-assigned connection identifier + * @return Equinix-assigned access point type config identifier * */ private String uuid; private GetConnectionZSideAccessPointProfileAccessPointTypeConfig() {} /** - * @return Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + * @return Type of access point type config - VD, COLO * */ public String type() { return this.type; } /** - * @return Equinix-assigned connection identifier + * @return Equinix-assigned access point type config identifier * */ public String uuid() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionsDataASideAccessPointInterface.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionsDataASideAccessPointInterface.java index b6241db7..f4315bfa 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionsDataASideAccessPointInterface.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionsDataASideAccessPointInterface.java @@ -14,7 +14,7 @@ @CustomType public final class GetConnectionsDataASideAccessPointInterface { /** - * @return The ID of this resource. + * @return id * */ private Integer id; @@ -31,7 +31,7 @@ public final class GetConnectionsDataASideAccessPointInterface { private GetConnectionsDataASideAccessPointInterface() {} /** - * @return The ID of this resource. + * @return id * */ public Integer id() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionsDataZSideAccessPointInterface.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionsDataZSideAccessPointInterface.java index d4c336dd..fbe81207 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionsDataZSideAccessPointInterface.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionsDataZSideAccessPointInterface.java @@ -14,7 +14,7 @@ @CustomType public final class GetConnectionsDataZSideAccessPointInterface { /** - * @return The ID of this resource. + * @return id * */ private Integer id; @@ -31,7 +31,7 @@ public final class GetConnectionsDataZSideAccessPointInterface { private GetConnectionsDataZSideAccessPointInterface() {} /** - * @return The ID of this resource. + * @return id * */ public Integer id() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionsFilter.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionsFilter.java index 881fc042..09e6afaa 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionsFilter.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionsFilter.java @@ -24,7 +24,7 @@ public final class GetConnectionsFilter { */ private String operator; /** - * @return Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + * @return Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] * */ private String property; @@ -50,7 +50,7 @@ public String operator() { return this.operator; } /** - * @return Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + * @return Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] * */ public String property() { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionEntitlement.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionEntitlement.java new file mode 100644 index 00000000..9e5f237e --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionEntitlement.java @@ -0,0 +1,156 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.equinix.pulumi.fabric.outputs; + +import com.equinix.pulumi.fabric.outputs.GetMarketplaceSubscriptionEntitlementAsset; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetMarketplaceSubscriptionEntitlement { + /** + * @return Asset information + * + */ + private List assets; + /** + * @return Available Quantity + * + */ + private Integer quantityAvailable; + /** + * @return Consumed Quantity + * + */ + private Integer quantityConsumed; + /** + * @return Entitled Quantity + * + */ + private Integer quantityEntitled; + /** + * @return Subscription Entitlement Id + * + */ + private String uuid; + + private GetMarketplaceSubscriptionEntitlement() {} + /** + * @return Asset information + * + */ + public List assets() { + return this.assets; + } + /** + * @return Available Quantity + * + */ + public Integer quantityAvailable() { + return this.quantityAvailable; + } + /** + * @return Consumed Quantity + * + */ + public Integer quantityConsumed() { + return this.quantityConsumed; + } + /** + * @return Entitled Quantity + * + */ + public Integer quantityEntitled() { + return this.quantityEntitled; + } + /** + * @return Subscription Entitlement Id + * + */ + public String uuid() { + return this.uuid; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMarketplaceSubscriptionEntitlement defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List assets; + private Integer quantityAvailable; + private Integer quantityConsumed; + private Integer quantityEntitled; + private String uuid; + public Builder() {} + public Builder(GetMarketplaceSubscriptionEntitlement defaults) { + Objects.requireNonNull(defaults); + this.assets = defaults.assets; + this.quantityAvailable = defaults.quantityAvailable; + this.quantityConsumed = defaults.quantityConsumed; + this.quantityEntitled = defaults.quantityEntitled; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder assets(List assets) { + if (assets == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionEntitlement", "assets"); + } + this.assets = assets; + return this; + } + public Builder assets(GetMarketplaceSubscriptionEntitlementAsset... assets) { + return assets(List.of(assets)); + } + @CustomType.Setter + public Builder quantityAvailable(Integer quantityAvailable) { + if (quantityAvailable == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionEntitlement", "quantityAvailable"); + } + this.quantityAvailable = quantityAvailable; + return this; + } + @CustomType.Setter + public Builder quantityConsumed(Integer quantityConsumed) { + if (quantityConsumed == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionEntitlement", "quantityConsumed"); + } + this.quantityConsumed = quantityConsumed; + return this; + } + @CustomType.Setter + public Builder quantityEntitled(Integer quantityEntitled) { + if (quantityEntitled == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionEntitlement", "quantityEntitled"); + } + this.quantityEntitled = quantityEntitled; + return this; + } + @CustomType.Setter + public Builder uuid(String uuid) { + if (uuid == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionEntitlement", "uuid"); + } + this.uuid = uuid; + return this; + } + public GetMarketplaceSubscriptionEntitlement build() { + final var _resultValue = new GetMarketplaceSubscriptionEntitlement(); + _resultValue.assets = assets; + _resultValue.quantityAvailable = quantityAvailable; + _resultValue.quantityConsumed = quantityConsumed; + _resultValue.quantityEntitled = quantityEntitled; + _resultValue.uuid = uuid; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionEntitlementAsset.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionEntitlementAsset.java new file mode 100644 index 00000000..b6f11271 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionEntitlementAsset.java @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.equinix.pulumi.fabric.outputs; + +import com.equinix.pulumi.fabric.outputs.GetMarketplaceSubscriptionEntitlementAssetPackage; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetMarketplaceSubscriptionEntitlementAsset { + /** + * @return Fabric Cloud Router Package Type + * + */ + private List packages; + /** + * @return Defines the FCR type like; XF_ROUTER + * + */ + private String type; + + private GetMarketplaceSubscriptionEntitlementAsset() {} + /** + * @return Fabric Cloud Router Package Type + * + */ + public List packages() { + return this.packages; + } + /** + * @return Defines the FCR type like; XF_ROUTER + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMarketplaceSubscriptionEntitlementAsset defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List packages; + private String type; + public Builder() {} + public Builder(GetMarketplaceSubscriptionEntitlementAsset defaults) { + Objects.requireNonNull(defaults); + this.packages = defaults.packages; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder packages(List packages) { + if (packages == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionEntitlementAsset", "packages"); + } + this.packages = packages; + return this; + } + public Builder packages(GetMarketplaceSubscriptionEntitlementAssetPackage... packages) { + return packages(List.of(packages)); + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionEntitlementAsset", "type"); + } + this.type = type; + return this; + } + public GetMarketplaceSubscriptionEntitlementAsset build() { + final var _resultValue = new GetMarketplaceSubscriptionEntitlementAsset(); + _resultValue.packages = packages; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionEntitlementAssetPackage.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionEntitlementAssetPackage.java new file mode 100644 index 00000000..7b28f06c --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionEntitlementAssetPackage.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.equinix.pulumi.fabric.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetMarketplaceSubscriptionEntitlementAssetPackage { + /** + * @return Cloud Router package code + * + */ + private String code; + + private GetMarketplaceSubscriptionEntitlementAssetPackage() {} + /** + * @return Cloud Router package code + * + */ + public String code() { + return this.code; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMarketplaceSubscriptionEntitlementAssetPackage defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String code; + public Builder() {} + public Builder(GetMarketplaceSubscriptionEntitlementAssetPackage defaults) { + Objects.requireNonNull(defaults); + this.code = defaults.code; + } + + @CustomType.Setter + public Builder code(String code) { + if (code == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionEntitlementAssetPackage", "code"); + } + this.code = code; + return this; + } + public GetMarketplaceSubscriptionEntitlementAssetPackage build() { + final var _resultValue = new GetMarketplaceSubscriptionEntitlementAssetPackage(); + _resultValue.code = code; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionResult.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionResult.java new file mode 100644 index 00000000..58a15508 --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionResult.java @@ -0,0 +1,249 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.equinix.pulumi.fabric.outputs; + +import com.equinix.pulumi.fabric.outputs.GetMarketplaceSubscriptionEntitlement; +import com.equinix.pulumi.fabric.outputs.GetMarketplaceSubscriptionTrial; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetMarketplaceSubscriptionResult { + /** + * @return Subscription entitlements + * + */ + private List entitlements; + /** + * @return Subscription URI information + * + */ + private String href; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Information about subscription auto renewal + * + */ + private Boolean isAutoRenew; + /** + * @return Marketplace like; AWS, GCP, AZURE, REDHAT + * + */ + private String marketplace; + /** + * @return Marketplace Offer Type like; PUBLIC, PRIVATE_OFFER + * + */ + private String offerType; + /** + * @return Subscription Status like; ACTIVE, EXPIRED, CANCELLED, GRACE_PERIOD + * + */ + private String status; + /** + * @return Subscription Trial + * + */ + private GetMarketplaceSubscriptionTrial trial; + /** + * @return Equinix-assigned marketplace identifier + * + */ + private String uuid; + + private GetMarketplaceSubscriptionResult() {} + /** + * @return Subscription entitlements + * + */ + public List entitlements() { + return this.entitlements; + } + /** + * @return Subscription URI information + * + */ + public String href() { + return this.href; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Information about subscription auto renewal + * + */ + public Boolean isAutoRenew() { + return this.isAutoRenew; + } + /** + * @return Marketplace like; AWS, GCP, AZURE, REDHAT + * + */ + public String marketplace() { + return this.marketplace; + } + /** + * @return Marketplace Offer Type like; PUBLIC, PRIVATE_OFFER + * + */ + public String offerType() { + return this.offerType; + } + /** + * @return Subscription Status like; ACTIVE, EXPIRED, CANCELLED, GRACE_PERIOD + * + */ + public String status() { + return this.status; + } + /** + * @return Subscription Trial + * + */ + public GetMarketplaceSubscriptionTrial trial() { + return this.trial; + } + /** + * @return Equinix-assigned marketplace identifier + * + */ + public String uuid() { + return this.uuid; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMarketplaceSubscriptionResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List entitlements; + private String href; + private String id; + private Boolean isAutoRenew; + private String marketplace; + private String offerType; + private String status; + private GetMarketplaceSubscriptionTrial trial; + private String uuid; + public Builder() {} + public Builder(GetMarketplaceSubscriptionResult defaults) { + Objects.requireNonNull(defaults); + this.entitlements = defaults.entitlements; + this.href = defaults.href; + this.id = defaults.id; + this.isAutoRenew = defaults.isAutoRenew; + this.marketplace = defaults.marketplace; + this.offerType = defaults.offerType; + this.status = defaults.status; + this.trial = defaults.trial; + this.uuid = defaults.uuid; + } + + @CustomType.Setter + public Builder entitlements(List entitlements) { + if (entitlements == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionResult", "entitlements"); + } + this.entitlements = entitlements; + return this; + } + public Builder entitlements(GetMarketplaceSubscriptionEntitlement... entitlements) { + return entitlements(List.of(entitlements)); + } + @CustomType.Setter + public Builder href(String href) { + if (href == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionResult", "href"); + } + this.href = href; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isAutoRenew(Boolean isAutoRenew) { + if (isAutoRenew == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionResult", "isAutoRenew"); + } + this.isAutoRenew = isAutoRenew; + return this; + } + @CustomType.Setter + public Builder marketplace(String marketplace) { + if (marketplace == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionResult", "marketplace"); + } + this.marketplace = marketplace; + return this; + } + @CustomType.Setter + public Builder offerType(String offerType) { + if (offerType == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionResult", "offerType"); + } + this.offerType = offerType; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionResult", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder trial(GetMarketplaceSubscriptionTrial trial) { + if (trial == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionResult", "trial"); + } + this.trial = trial; + return this; + } + @CustomType.Setter + public Builder uuid(String uuid) { + if (uuid == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionResult", "uuid"); + } + this.uuid = uuid; + return this; + } + public GetMarketplaceSubscriptionResult build() { + final var _resultValue = new GetMarketplaceSubscriptionResult(); + _resultValue.entitlements = entitlements; + _resultValue.href = href; + _resultValue.id = id; + _resultValue.isAutoRenew = isAutoRenew; + _resultValue.marketplace = marketplace; + _resultValue.offerType = offerType; + _resultValue.status = status; + _resultValue.trial = trial; + _resultValue.uuid = uuid; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionTrial.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionTrial.java new file mode 100644 index 00000000..71827c5f --- /dev/null +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetMarketplaceSubscriptionTrial.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.equinix.pulumi.fabric.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.util.Objects; + +@CustomType +public final class GetMarketplaceSubscriptionTrial { + /** + * @return Marketplace Subscription Trial Enabled + * + */ + private Boolean enabled; + + private GetMarketplaceSubscriptionTrial() {} + /** + * @return Marketplace Subscription Trial Enabled + * + */ + public Boolean enabled() { + return this.enabled; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMarketplaceSubscriptionTrial defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean enabled; + public Builder() {} + public Builder(GetMarketplaceSubscriptionTrial defaults) { + Objects.requireNonNull(defaults); + this.enabled = defaults.enabled; + } + + @CustomType.Setter + public Builder enabled(Boolean enabled) { + if (enabled == null) { + throw new MissingRequiredPropertyException("GetMarketplaceSubscriptionTrial", "enabled"); + } + this.enabled = enabled; + return this; + } + public GetMarketplaceSubscriptionTrial build() { + final var _resultValue = new GetMarketplaceSubscriptionTrial(); + _resultValue.enabled = enabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileResult.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileResult.java index 35ba9b38..07d40f23 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileResult.java @@ -93,7 +93,7 @@ public final class GetServiceProfileResult { */ private GetServiceProfileProject project; /** - * @return Self Profile indicating if the profile is created for customer's self use + * @return Self Profile indicating if the profile is created for customer's self use * */ private Boolean selfProfile; @@ -108,7 +108,7 @@ public final class GetServiceProfileResult { */ private List tags; /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * */ private String type; @@ -117,6 +117,10 @@ public final class GetServiceProfileResult { * */ private String uuid; + /** + * @return Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide + * + */ private String viewPoint; /** * @return Virtual Devices @@ -229,7 +233,7 @@ public GetServiceProfileProject project() { return this.project; } /** - * @return Self Profile indicating if the profile is created for customer's self use + * @return Self Profile indicating if the profile is created for customer's self use * */ public Boolean selfProfile() { @@ -250,7 +254,7 @@ public List tags() { return this.tags; } /** - * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * @return Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE * */ public String type() { @@ -263,6 +267,10 @@ public String type() { public String uuid() { return this.uuid; } + /** + * @return Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide + * + */ public String viewPoint() { return this.viewPoint; } diff --git a/sdk/nodejs/fabric/cloudRouter.ts b/sdk/nodejs/fabric/cloudRouter.ts index 7adc2522..96c30f50 100644 --- a/sdk/nodejs/fabric/cloudRouter.ts +++ b/sdk/nodejs/fabric/cloudRouter.ts @@ -15,6 +15,7 @@ import * as utilities from "../utilities"; * * API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#fabric-cloud-routers * * ## Example Usage + * ### example 1 * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as equinix from "@equinix-labs/pulumi-equinix"; @@ -46,6 +47,39 @@ import * as utilities from "../utilities"; * }, * }); * ``` + * ### example 2 + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as equinix from "@equinix-labs/pulumi-equinix"; + * + * const newCloudRouter = new equinix.fabric.CloudRouter("newCloudRouter", { + * name: "Router-SV", + * type: "XF_ROUTER", + * notifications: [{ + * type: "ALL", + * emails: [ + * "example@equinix.com", + * "test1@equinix.com", + * ], + * }], + * order: { + * purchaseOrderNumber: "1-323292", + * }, + * location: { + * metroCode: "SV", + * }, + * "package": { + * code: "STANDARD", + * }, + * project: { + * projectId: "776847000642406", + * }, + * marketplaceSubscription: { + * type: "AWS_MARKETPLACE_SUBSCRIPTION", + * uuid: "2823b8ae07-a2a2-45b4-a658-c3542bb24e9", + * }, + * }); + * ``` */ export class CloudRouter extends pulumi.CustomResource { /** @@ -119,6 +153,10 @@ export class CloudRouter extends pulumi.CustomResource { * Fabric Cloud Router location */ public readonly location!: pulumi.Output; + /** + * Equinix Fabric Entity for Marketplace Subscription + */ + public readonly marketplaceSubscription!: pulumi.Output; /** * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores */ @@ -176,6 +214,7 @@ export class CloudRouter extends pulumi.CustomResource { resourceInputs["equinixAsn"] = state ? state.equinixAsn : undefined; resourceInputs["href"] = state ? state.href : undefined; resourceInputs["location"] = state ? state.location : undefined; + resourceInputs["marketplaceSubscription"] = state ? state.marketplaceSubscription : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["notifications"] = state ? state.notifications : undefined; resourceInputs["order"] = state ? state.order : undefined; @@ -186,9 +225,6 @@ export class CloudRouter extends pulumi.CustomResource { resourceInputs["uuid"] = state ? state.uuid : undefined; } else { const args = argsOrState as CloudRouterArgs | undefined; - if ((!args || args.account === undefined) && !opts.urn) { - throw new Error("Missing required property 'account'"); - } if ((!args || args.location === undefined) && !opts.urn) { throw new Error("Missing required property 'location'"); } @@ -208,6 +244,7 @@ export class CloudRouter extends pulumi.CustomResource { resourceInputs["description"] = args ? args.description : undefined; resourceInputs["href"] = args ? args.href : undefined; resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["marketplaceSubscription"] = args ? args.marketplaceSubscription : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["notifications"] = args ? args.notifications : undefined; resourceInputs["order"] = args ? args.order : undefined; @@ -277,6 +314,10 @@ export interface CloudRouterState { * Fabric Cloud Router location */ location?: pulumi.Input; + /** + * Equinix Fabric Entity for Marketplace Subscription + */ + marketplaceSubscription?: pulumi.Input; /** * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores */ @@ -318,7 +359,7 @@ export interface CloudRouterArgs { /** * Customer account information that is associated with this Fabric Cloud Router */ - account: pulumi.Input; + account?: pulumi.Input; /** * Customer-provided Fabric Cloud Router description */ @@ -331,6 +372,10 @@ export interface CloudRouterArgs { * Fabric Cloud Router location */ location: pulumi.Input; + /** + * Equinix Fabric Entity for Marketplace Subscription + */ + marketplaceSubscription?: pulumi.Input; /** * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores */ diff --git a/sdk/nodejs/fabric/getCloudRouter.ts b/sdk/nodejs/fabric/getCloudRouter.ts index 88b0177e..f885f9bd 100644 --- a/sdk/nodejs/fabric/getCloudRouter.ts +++ b/sdk/nodejs/fabric/getCloudRouter.ts @@ -105,6 +105,10 @@ export interface GetCloudRouterResult { * Fabric Cloud Router location */ readonly locations: outputs.fabric.GetCloudRouterLocation[]; + /** + * Equinix Fabric Entity for Marketplace Subscription + */ + readonly marketplaceSubscriptions: outputs.fabric.GetCloudRouterMarketplaceSubscription[]; /** * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores */ @@ -122,7 +126,7 @@ export interface GetCloudRouterResult { */ readonly packages: outputs.fabric.GetCloudRouterPackage[]; /** - * 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 */ readonly projects: outputs.fabric.GetCloudRouterProject[]; /** diff --git a/sdk/nodejs/fabric/getConnection.ts b/sdk/nodejs/fabric/getConnection.ts index a8e4ba71..03a1661f 100644 --- a/sdk/nodejs/fabric/getConnection.ts +++ b/sdk/nodejs/fabric/getConnection.ts @@ -131,7 +131,7 @@ export interface GetConnectionResult { */ readonly state: string; /** - * 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 */ readonly type: string; /** diff --git a/sdk/nodejs/fabric/getMarketplaceSubscription.ts b/sdk/nodejs/fabric/getMarketplaceSubscription.ts new file mode 100644 index 00000000..0d490713 --- /dev/null +++ b/sdk/nodejs/fabric/getMarketplaceSubscription.ts @@ -0,0 +1,119 @@ +// *** 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! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as enums from "../types/enums"; +import * as utilities from "../utilities"; + +/** + * Fabric V4 API compatible data resource that allow user to fetch Marketplace Subscription detail for a given UUID + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as equinix from "@equinix-labs/pulumi-equinix"; + * + * const subscription-test = equinix.fabric.getMarketplaceSubscription({ + * uuid: "", + * }); + * export const id = subscription_test.then(subscription_test => subscription_test.id); + * export const status = subscription_test.then(subscription_test => subscription_test.status); + * export const marketplace = subscription_test.then(subscription_test => subscription_test.marketplace); + * export const offerType = subscription_test.then(subscription_test => subscription_test.offerType); + * export const isAutoRenew = subscription_test.then(subscription_test => subscription_test.isAutoRenew); + * ``` + */ +export function getMarketplaceSubscription(args: GetMarketplaceSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("equinix:fabric/getMarketplaceSubscription:getMarketplaceSubscription", { + "uuid": args.uuid, + }, opts); +} + +/** + * A collection of arguments for invoking getMarketplaceSubscription. + */ +export interface GetMarketplaceSubscriptionArgs { + /** + * Equinix-assigned marketplace identifier + */ + uuid: string; +} + +/** + * A collection of values returned by getMarketplaceSubscription. + */ +export interface GetMarketplaceSubscriptionResult { + /** + * Subscription entitlements + */ + readonly entitlements: outputs.fabric.GetMarketplaceSubscriptionEntitlement[]; + /** + * Subscription URI information + */ + readonly href: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Information about subscription auto renewal + */ + readonly isAutoRenew: boolean; + /** + * Marketplace like; AWS, GCP, AZURE, REDHAT + */ + readonly marketplace: string; + /** + * Marketplace Offer Type like; PUBLIC, PRIVATE_OFFER + */ + readonly offerType: string; + /** + * Subscription Status like; ACTIVE, EXPIRED, CANCELLED, GRACE_PERIOD + */ + readonly status: string; + /** + * Subscription Trial + */ + readonly trial: outputs.fabric.GetMarketplaceSubscriptionTrial; + /** + * Equinix-assigned marketplace identifier + */ + readonly uuid: string; +} +/** + * Fabric V4 API compatible data resource that allow user to fetch Marketplace Subscription detail for a given UUID + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as equinix from "@equinix-labs/pulumi-equinix"; + * + * const subscription-test = equinix.fabric.getMarketplaceSubscription({ + * uuid: "", + * }); + * export const id = subscription_test.then(subscription_test => subscription_test.id); + * export const status = subscription_test.then(subscription_test => subscription_test.status); + * export const marketplace = subscription_test.then(subscription_test => subscription_test.marketplace); + * export const offerType = subscription_test.then(subscription_test => subscription_test.offerType); + * export const isAutoRenew = subscription_test.then(subscription_test => subscription_test.isAutoRenew); + * ``` + */ +export function getMarketplaceSubscriptionOutput(args: GetMarketplaceSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getMarketplaceSubscription(a, opts)) +} + +/** + * A collection of arguments for invoking getMarketplaceSubscription. + */ +export interface GetMarketplaceSubscriptionOutputArgs { + /** + * Equinix-assigned marketplace identifier + */ + uuid: pulumi.Input; +} diff --git a/sdk/nodejs/fabric/getServiceProfile.ts b/sdk/nodejs/fabric/getServiceProfile.ts index 118e2890..0e99affe 100644 --- a/sdk/nodejs/fabric/getServiceProfile.ts +++ b/sdk/nodejs/fabric/getServiceProfile.ts @@ -115,7 +115,7 @@ export interface GetServiceProfileResult { */ readonly project: outputs.fabric.GetServiceProfileProject; /** - * 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 */ readonly selfProfile: boolean; /** @@ -127,13 +127,16 @@ export interface GetServiceProfileResult { */ readonly tags: string[]; /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE */ readonly type: string; /** * Equinix assigned service profile identifier */ readonly uuid: string; + /** + * Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide + */ readonly viewPoint: string; /** * Virtual Devices diff --git a/sdk/nodejs/fabric/index.ts b/sdk/nodejs/fabric/index.ts index 0bde4f32..29c03cb1 100644 --- a/sdk/nodejs/fabric/index.ts +++ b/sdk/nodejs/fabric/index.ts @@ -35,6 +35,11 @@ export const getConnections: typeof import("./getConnections").getConnections = export const getConnectionsOutput: typeof import("./getConnections").getConnectionsOutput = null as any; utilities.lazyLoad(exports, ["getConnections","getConnectionsOutput"], () => require("./getConnections")); +export { GetMarketplaceSubscriptionArgs, GetMarketplaceSubscriptionResult, GetMarketplaceSubscriptionOutputArgs } from "./getMarketplaceSubscription"; +export const getMarketplaceSubscription: typeof import("./getMarketplaceSubscription").getMarketplaceSubscription = null as any; +export const getMarketplaceSubscriptionOutput: typeof import("./getMarketplaceSubscription").getMarketplaceSubscriptionOutput = null as any; +utilities.lazyLoad(exports, ["getMarketplaceSubscription","getMarketplaceSubscriptionOutput"], () => require("./getMarketplaceSubscription")); + export { GetNetworkArgs, GetNetworkResult, GetNetworkOutputArgs } from "./getNetwork"; export const getNetwork: typeof import("./getNetwork").getNetwork = null as any; export const getNetworkOutput: typeof import("./getNetwork").getNetworkOutput = null as any; diff --git a/sdk/nodejs/fabric/serviceProfile.ts b/sdk/nodejs/fabric/serviceProfile.ts index a72a5582..94fe24f1 100644 --- a/sdk/nodejs/fabric/serviceProfile.ts +++ b/sdk/nodejs/fabric/serviceProfile.ts @@ -133,7 +133,7 @@ export class ServiceProfile extends pulumi.CustomResource { */ public readonly project!: pulumi.Output; /** - * 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 */ public readonly selfProfile!: pulumi.Output; /** @@ -145,7 +145,7 @@ export class ServiceProfile extends pulumi.CustomResource { */ public readonly tags!: pulumi.Output; /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE */ public readonly type!: pulumi.Output; /** @@ -291,7 +291,7 @@ export interface ServiceProfileState { */ project?: pulumi.Input; /** - * 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 */ selfProfile?: pulumi.Input; /** @@ -303,7 +303,7 @@ export interface ServiceProfileState { */ tags?: pulumi.Input[]>; /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE */ type?: pulumi.Input; /** @@ -369,7 +369,7 @@ export interface ServiceProfileArgs { */ project?: pulumi.Input; /** - * 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 */ selfProfile?: pulumi.Input; /** @@ -381,7 +381,7 @@ export interface ServiceProfileArgs { */ tags?: pulumi.Input[]>; /** - * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + * Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE */ type: pulumi.Input; /** diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index c92ae3c9..5546b148 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -21,6 +21,7 @@ "fabric/getCloudRouters.ts", "fabric/getConnection.ts", "fabric/getConnections.ts", + "fabric/getMarketplaceSubscription.ts", "fabric/getNetwork.ts", "fabric/getNetworks.ts", "fabric/getPort.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 6eb4bc77..1d4b37a3 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -11,7 +11,7 @@ export namespace fabric { /** * Account Number */ - accountNumber?: pulumi.Input; + accountNumber: pulumi.Input; } export interface CloudRouterChangeLog { @@ -84,6 +84,17 @@ export namespace fabric { region?: pulumi.Input; } + export interface CloudRouterMarketplaceSubscription { + /** + * Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + */ + type?: pulumi.Input; + /** + * Equinix-assigned Marketplace Subscription identifier + */ + uuid: pulumi.Input; + } + export interface CloudRouterNotification { /** * Array of contact emails @@ -1067,7 +1078,7 @@ export namespace fabric { */ operator: string; /** - * Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + * Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] */ property: string; /** @@ -1086,7 +1097,7 @@ export namespace fabric { */ operator: pulumi.Input; /** - * Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + * Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] */ property: pulumi.Input; /** diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 46b7c308..9022e7d5 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -84,6 +84,17 @@ export namespace fabric { region: string; } + export interface CloudRouterMarketplaceSubscription { + /** + * Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + */ + type: string; + /** + * Equinix-assigned Marketplace Subscription identifier + */ + uuid: string; + } + export interface CloudRouterNotification { /** * Array of contact emails @@ -1052,6 +1063,17 @@ export namespace fabric { region: string; } + export interface GetCloudRouterMarketplaceSubscription { + /** + * Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + */ + type: string; + /** + * Equinix-assigned Marketplace Subscription identifier + */ + uuid: string; + } + export interface GetCloudRouterNotification { /** * Array of contact emails @@ -1149,6 +1171,10 @@ export namespace fabric { * Fabric Cloud Router location */ locations: outputs.fabric.GetCloudRoutersDataLocation[]; + /** + * Equinix Fabric Entity for Marketplace Subscription + */ + marketplaceSubscriptions: outputs.fabric.GetCloudRoutersDataMarketplaceSubscription[]; /** * Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores */ @@ -1260,6 +1286,17 @@ export namespace fabric { region: string; } + export interface GetCloudRoutersDataMarketplaceSubscription { + /** + * Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + */ + type: string; + /** + * Equinix-assigned Marketplace Subscription identifier + */ + uuid: string; + } + export interface GetCloudRoutersDataNotification { /** * Array of contact emails @@ -1606,11 +1643,11 @@ export namespace fabric { export interface GetConnectionASideAccessPointProfileAccessPointTypeConfig { /** - * Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + * Type of access point type config - VD, COLO */ type: string; /** - * Equinix-assigned connection identifier + * Equinix-assigned access point type config identifier */ uuid: string; } @@ -2123,11 +2160,11 @@ export namespace fabric { export interface GetConnectionZSideAccessPointProfileAccessPointTypeConfig { /** - * Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + * Type of access point type config - VD, COLO */ type: string; /** - * Equinix-assigned connection identifier + * Equinix-assigned access point type config identifier */ uuid: string; } @@ -2399,7 +2436,7 @@ export namespace fabric { export interface GetConnectionsDataASideAccessPointInterface { /** - * The ID of this resource. + * id */ id: number; /** @@ -2916,7 +2953,7 @@ export namespace fabric { export interface GetConnectionsDataZSideAccessPointInterface { /** - * The ID of this resource. + * id */ id: number; /** @@ -3120,7 +3157,7 @@ export namespace fabric { */ operator: string; /** - * Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + * Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] */ property: string; /** @@ -3151,6 +3188,54 @@ export namespace fabric { property?: string; } + export interface GetMarketplaceSubscriptionEntitlement { + /** + * Asset information + */ + assets: outputs.fabric.GetMarketplaceSubscriptionEntitlementAsset[]; + /** + * Available Quantity + */ + quantityAvailable: number; + /** + * Consumed Quantity + */ + quantityConsumed: number; + /** + * Entitled Quantity + */ + quantityEntitled: number; + /** + * Subscription Entitlement Id + */ + uuid: string; + } + + export interface GetMarketplaceSubscriptionEntitlementAsset { + /** + * Fabric Cloud Router Package Type + */ + packages: outputs.fabric.GetMarketplaceSubscriptionEntitlementAssetPackage[]; + /** + * Defines the FCR type like; XF_ROUTER + */ + type: string; + } + + export interface GetMarketplaceSubscriptionEntitlementAssetPackage { + /** + * Cloud Router package code + */ + code: string; + } + + export interface GetMarketplaceSubscriptionTrial { + /** + * Marketplace Subscription Trial Enabled + */ + enabled: boolean; + } + export interface GetNetworkChange { /** * Absolute URL that returns the details of the given change. diff --git a/sdk/python/pulumi_equinix/fabric/__init__.py b/sdk/python/pulumi_equinix/fabric/__init__.py index 4a95138b..689037e5 100644 --- a/sdk/python/pulumi_equinix/fabric/__init__.py +++ b/sdk/python/pulumi_equinix/fabric/__init__.py @@ -12,6 +12,7 @@ from .get_cloud_routers import * from .get_connection import * from .get_connections import * +from .get_marketplace_subscription import * from .get_network import * from .get_networks import * from .get_port import * diff --git a/sdk/python/pulumi_equinix/fabric/_inputs.py b/sdk/python/pulumi_equinix/fabric/_inputs.py index 5ed0c7f7..cf21cd64 100644 --- a/sdk/python/pulumi_equinix/fabric/_inputs.py +++ b/sdk/python/pulumi_equinix/fabric/_inputs.py @@ -15,6 +15,7 @@ 'CloudRouterAccountArgs', 'CloudRouterChangeLogArgs', 'CloudRouterLocationArgs', + 'CloudRouterMarketplaceSubscriptionArgs', 'CloudRouterNotificationArgs', 'CloudRouterOrderArgs', 'CloudRouterPackageArgs', @@ -110,23 +111,22 @@ @pulumi.input_type class CloudRouterAccountArgs: def __init__(__self__, *, - account_number: Optional[pulumi.Input[int]] = None): + account_number: pulumi.Input[int]): """ :param pulumi.Input[int] account_number: Account Number """ - if account_number is not None: - pulumi.set(__self__, "account_number", account_number) + pulumi.set(__self__, "account_number", account_number) @property @pulumi.getter(name="accountNumber") - def account_number(self) -> Optional[pulumi.Input[int]]: + def account_number(self) -> pulumi.Input[int]: """ Account Number """ return pulumi.get(self, "account_number") @account_number.setter - def account_number(self, value: Optional[pulumi.Input[int]]): + def account_number(self, value: pulumi.Input[int]): pulumi.set(self, "account_number", value) @@ -400,6 +400,44 @@ def region(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "region", value) +@pulumi.input_type +class CloudRouterMarketplaceSubscriptionArgs: + def __init__(__self__, *, + uuid: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] uuid: Equinix-assigned Marketplace Subscription identifier + :param pulumi.Input[str] type: Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + """ + pulumi.set(__self__, "uuid", uuid) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def uuid(self) -> pulumi.Input[str]: + """ + Equinix-assigned Marketplace Subscription identifier + """ + return pulumi.get(self, "uuid") + + @uuid.setter + def uuid(self, value: pulumi.Input[str]): + pulumi.set(self, "uuid", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[str]]: + """ + Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "type", value) + + @pulumi.input_type class CloudRouterNotificationArgs: def __init__(__self__, *, @@ -6422,7 +6460,7 @@ def __init__(__self__, *, group: Optional[str] = None): """ :param str operator: Operators to use on your filtered field with the values given. One of [ =, !=, >, >=, <, <=, BETWEEN, NOT BETWEEN, LIKE, NOT LIKE, IN, NOT IN, IS NOT NULL, IS NULL] - :param str property: Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + :param str property: Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] :param Sequence[str] values: The values that you want to apply the property+operator combination to in order to filter your data search :param str group: Optional custom id parameter to assign this filter to an inner AND or OR group. Group id must be prefixed with AND_ or OR_. Ensure intended grouped elements have the same given id. Ungrouped filters will be placed in the filter list group by themselves. """ @@ -6472,7 +6510,7 @@ def group(self, value: Optional[str]): @pulumi.getter def property(self) -> str: """ - Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] """ return pulumi.get(self, "property") diff --git a/sdk/python/pulumi_equinix/fabric/cloud_router.py b/sdk/python/pulumi_equinix/fabric/cloud_router.py index 2c2d66a6..cc7535c3 100644 --- a/sdk/python/pulumi_equinix/fabric/cloud_router.py +++ b/sdk/python/pulumi_equinix/fabric/cloud_router.py @@ -16,41 +16,46 @@ @pulumi.input_type class CloudRouterArgs: def __init__(__self__, *, - account: pulumi.Input['CloudRouterAccountArgs'], location: pulumi.Input['CloudRouterLocationArgs'], notifications: pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]], package: pulumi.Input['CloudRouterPackageArgs'], project: pulumi.Input['CloudRouterProjectArgs'], type: pulumi.Input[str], + account: Optional[pulumi.Input['CloudRouterAccountArgs']] = None, description: Optional[pulumi.Input[str]] = None, href: Optional[pulumi.Input[str]] = None, + marketplace_subscription: Optional[pulumi.Input['CloudRouterMarketplaceSubscriptionArgs']] = None, name: Optional[pulumi.Input[str]] = None, order: Optional[pulumi.Input['CloudRouterOrderArgs']] = None, uuid: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a CloudRouter resource. - :param pulumi.Input['CloudRouterAccountArgs'] account: Customer account information that is associated with this Fabric Cloud Router :param pulumi.Input['CloudRouterLocationArgs'] location: Fabric Cloud Router location :param pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]] notifications: Preferences for notifications on Fabric Cloud Router configuration or status changes :param pulumi.Input['CloudRouterPackageArgs'] package: Fabric Cloud Router Package Type :param pulumi.Input['CloudRouterProjectArgs'] project: Customer resource hierarchy project information. Applicable to customers onboarded to Equinix Identity and Access Management. For more information see Identity and Access Management: Projects :param pulumi.Input[str] type: Defines the FCR type like; XF_ROUTER + :param pulumi.Input['CloudRouterAccountArgs'] account: Customer account information that is associated with this Fabric Cloud Router :param pulumi.Input[str] description: Customer-provided Fabric Cloud Router description :param pulumi.Input[str] href: Fabric Cloud Router URI information + :param pulumi.Input['CloudRouterMarketplaceSubscriptionArgs'] marketplace_subscription: Equinix Fabric Entity for Marketplace Subscription :param pulumi.Input[str] name: Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores :param pulumi.Input['CloudRouterOrderArgs'] order: Order information related to this Fabric Cloud Router :param pulumi.Input[str] uuid: Equinix-assigned Fabric Cloud Router identifier """ - pulumi.set(__self__, "account", account) pulumi.set(__self__, "location", location) pulumi.set(__self__, "notifications", notifications) pulumi.set(__self__, "package", package) pulumi.set(__self__, "project", project) pulumi.set(__self__, "type", type) + if account is not None: + pulumi.set(__self__, "account", account) if description is not None: pulumi.set(__self__, "description", description) if href is not None: pulumi.set(__self__, "href", href) + if marketplace_subscription is not None: + pulumi.set(__self__, "marketplace_subscription", marketplace_subscription) if name is not None: pulumi.set(__self__, "name", name) if order is not None: @@ -58,18 +63,6 @@ def __init__(__self__, *, if uuid is not None: pulumi.set(__self__, "uuid", uuid) - @property - @pulumi.getter - def account(self) -> pulumi.Input['CloudRouterAccountArgs']: - """ - Customer account information that is associated with this Fabric Cloud Router - """ - return pulumi.get(self, "account") - - @account.setter - def account(self, value: pulumi.Input['CloudRouterAccountArgs']): - pulumi.set(self, "account", value) - @property @pulumi.getter def location(self) -> pulumi.Input['CloudRouterLocationArgs']: @@ -130,6 +123,18 @@ def type(self) -> pulumi.Input[str]: def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) + @property + @pulumi.getter + def account(self) -> Optional[pulumi.Input['CloudRouterAccountArgs']]: + """ + Customer account information that is associated with this Fabric Cloud Router + """ + return pulumi.get(self, "account") + + @account.setter + def account(self, value: Optional[pulumi.Input['CloudRouterAccountArgs']]): + pulumi.set(self, "account", value) + @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: @@ -154,6 +159,18 @@ def href(self) -> Optional[pulumi.Input[str]]: def href(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "href", value) + @property + @pulumi.getter(name="marketplaceSubscription") + def marketplace_subscription(self) -> Optional[pulumi.Input['CloudRouterMarketplaceSubscriptionArgs']]: + """ + Equinix Fabric Entity for Marketplace Subscription + """ + return pulumi.get(self, "marketplace_subscription") + + @marketplace_subscription.setter + def marketplace_subscription(self, value: Optional[pulumi.Input['CloudRouterMarketplaceSubscriptionArgs']]): + pulumi.set(self, "marketplace_subscription", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: @@ -205,6 +222,7 @@ def __init__(__self__, *, equinix_asn: Optional[pulumi.Input[int]] = None, href: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input['CloudRouterLocationArgs']] = None, + marketplace_subscription: Optional[pulumi.Input['CloudRouterMarketplaceSubscriptionArgs']] = None, name: Optional[pulumi.Input[str]] = None, notifications: Optional[pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]]] = None, order: Optional[pulumi.Input['CloudRouterOrderArgs']] = None, @@ -226,6 +244,7 @@ def __init__(__self__, *, :param pulumi.Input[int] equinix_asn: Equinix ASN :param pulumi.Input[str] href: Fabric Cloud Router URI information :param pulumi.Input['CloudRouterLocationArgs'] location: Fabric Cloud Router location + :param pulumi.Input['CloudRouterMarketplaceSubscriptionArgs'] marketplace_subscription: Equinix Fabric Entity for Marketplace Subscription :param pulumi.Input[str] name: Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores :param pulumi.Input[Sequence[pulumi.Input['CloudRouterNotificationArgs']]] notifications: Preferences for notifications on Fabric Cloud Router configuration or status changes :param pulumi.Input['CloudRouterOrderArgs'] order: Order information related to this Fabric Cloud Router @@ -257,6 +276,8 @@ def __init__(__self__, *, pulumi.set(__self__, "href", href) if location is not None: pulumi.set(__self__, "location", location) + if marketplace_subscription is not None: + pulumi.set(__self__, "marketplace_subscription", marketplace_subscription) if name is not None: pulumi.set(__self__, "name", name) if notifications is not None: @@ -406,6 +427,18 @@ def location(self) -> Optional[pulumi.Input['CloudRouterLocationArgs']]: def location(self, value: Optional[pulumi.Input['CloudRouterLocationArgs']]): pulumi.set(self, "location", value) + @property + @pulumi.getter(name="marketplaceSubscription") + def marketplace_subscription(self) -> Optional[pulumi.Input['CloudRouterMarketplaceSubscriptionArgs']]: + """ + Equinix Fabric Entity for Marketplace Subscription + """ + return pulumi.get(self, "marketplace_subscription") + + @marketplace_subscription.setter + def marketplace_subscription(self, value: Optional[pulumi.Input['CloudRouterMarketplaceSubscriptionArgs']]): + pulumi.set(self, "marketplace_subscription", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: @@ -512,6 +545,7 @@ def __init__(__self__, description: Optional[pulumi.Input[str]] = None, href: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input[Union['CloudRouterLocationArgs', 'CloudRouterLocationArgsDict']]] = None, + marketplace_subscription: Optional[pulumi.Input[Union['CloudRouterMarketplaceSubscriptionArgs', 'CloudRouterMarketplaceSubscriptionArgsDict']]] = None, name: Optional[pulumi.Input[str]] = None, notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CloudRouterNotificationArgs', 'CloudRouterNotificationArgsDict']]]]] = None, order: Optional[pulumi.Input[Union['CloudRouterOrderArgs', 'CloudRouterOrderArgsDict']]] = None, @@ -528,6 +562,7 @@ def __init__(__self__, * API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#fabric-cloud-routers ## Example Usage + ### example 1 ```python import pulumi import pulumi_equinix as equinix @@ -558,6 +593,38 @@ def __init__(__self__, "account_number": 203612, }) ``` + ### example 2 + ```python + import pulumi + import pulumi_equinix as equinix + + new_cloud_router = equinix.fabric.CloudRouter("newCloudRouter", + name="Router-SV", + type="XF_ROUTER", + notifications=[{ + "type": "ALL", + "emails": [ + "example@equinix.com", + "test1@equinix.com", + ], + }], + order={ + "purchase_order_number": "1-323292", + }, + location={ + "metro_code": "SV", + }, + package={ + "code": "STANDARD", + }, + project={ + "project_id": "776847000642406", + }, + marketplace_subscription={ + "type": "AWS_MARKETPLACE_SUBSCRIPTION", + "uuid": "2823b8ae07-a2a2-45b4-a658-c3542bb24e9", + }) + ``` :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -565,6 +632,7 @@ def __init__(__self__, :param pulumi.Input[str] description: Customer-provided Fabric Cloud Router description :param pulumi.Input[str] href: Fabric Cloud Router URI information :param pulumi.Input[Union['CloudRouterLocationArgs', 'CloudRouterLocationArgsDict']] location: Fabric Cloud Router location + :param pulumi.Input[Union['CloudRouterMarketplaceSubscriptionArgs', 'CloudRouterMarketplaceSubscriptionArgsDict']] marketplace_subscription: Equinix Fabric Entity for Marketplace Subscription :param pulumi.Input[str] name: Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores :param pulumi.Input[Sequence[pulumi.Input[Union['CloudRouterNotificationArgs', 'CloudRouterNotificationArgsDict']]]] notifications: Preferences for notifications on Fabric Cloud Router configuration or status changes :param pulumi.Input[Union['CloudRouterOrderArgs', 'CloudRouterOrderArgsDict']] order: Order information related to this Fabric Cloud Router @@ -587,6 +655,7 @@ def __init__(__self__, * API: https://developer.equinix.com/dev-docs/fabric/api-reference/fabric-v4-apis#fabric-cloud-routers ## Example Usage + ### example 1 ```python import pulumi import pulumi_equinix as equinix @@ -617,6 +686,38 @@ def __init__(__self__, "account_number": 203612, }) ``` + ### example 2 + ```python + import pulumi + import pulumi_equinix as equinix + + new_cloud_router = equinix.fabric.CloudRouter("newCloudRouter", + name="Router-SV", + type="XF_ROUTER", + notifications=[{ + "type": "ALL", + "emails": [ + "example@equinix.com", + "test1@equinix.com", + ], + }], + order={ + "purchase_order_number": "1-323292", + }, + location={ + "metro_code": "SV", + }, + package={ + "code": "STANDARD", + }, + project={ + "project_id": "776847000642406", + }, + marketplace_subscription={ + "type": "AWS_MARKETPLACE_SUBSCRIPTION", + "uuid": "2823b8ae07-a2a2-45b4-a658-c3542bb24e9", + }) + ``` :param str resource_name: The name of the resource. :param CloudRouterArgs args: The arguments to use to populate this resource's properties. @@ -637,6 +738,7 @@ def _internal_init(__self__, description: Optional[pulumi.Input[str]] = None, href: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input[Union['CloudRouterLocationArgs', 'CloudRouterLocationArgsDict']]] = None, + marketplace_subscription: Optional[pulumi.Input[Union['CloudRouterMarketplaceSubscriptionArgs', 'CloudRouterMarketplaceSubscriptionArgsDict']]] = None, name: Optional[pulumi.Input[str]] = None, notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CloudRouterNotificationArgs', 'CloudRouterNotificationArgsDict']]]]] = None, order: Optional[pulumi.Input[Union['CloudRouterOrderArgs', 'CloudRouterOrderArgsDict']]] = None, @@ -653,14 +755,13 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = CloudRouterArgs.__new__(CloudRouterArgs) - if account is None and not opts.urn: - raise TypeError("Missing required property 'account'") __props__.__dict__["account"] = account __props__.__dict__["description"] = description __props__.__dict__["href"] = href if location is None and not opts.urn: raise TypeError("Missing required property 'location'") __props__.__dict__["location"] = location + __props__.__dict__["marketplace_subscription"] = marketplace_subscription __props__.__dict__["name"] = name if notifications is None and not opts.urn: raise TypeError("Missing required property 'notifications'") @@ -705,6 +806,7 @@ def get(resource_name: str, equinix_asn: Optional[pulumi.Input[int]] = None, href: Optional[pulumi.Input[str]] = None, location: Optional[pulumi.Input[Union['CloudRouterLocationArgs', 'CloudRouterLocationArgsDict']]] = None, + marketplace_subscription: Optional[pulumi.Input[Union['CloudRouterMarketplaceSubscriptionArgs', 'CloudRouterMarketplaceSubscriptionArgsDict']]] = None, name: Optional[pulumi.Input[str]] = None, notifications: Optional[pulumi.Input[Sequence[pulumi.Input[Union['CloudRouterNotificationArgs', 'CloudRouterNotificationArgsDict']]]]] = None, order: Optional[pulumi.Input[Union['CloudRouterOrderArgs', 'CloudRouterOrderArgsDict']]] = None, @@ -731,6 +833,7 @@ def get(resource_name: str, :param pulumi.Input[int] equinix_asn: Equinix ASN :param pulumi.Input[str] href: Fabric Cloud Router URI information :param pulumi.Input[Union['CloudRouterLocationArgs', 'CloudRouterLocationArgsDict']] location: Fabric Cloud Router location + :param pulumi.Input[Union['CloudRouterMarketplaceSubscriptionArgs', 'CloudRouterMarketplaceSubscriptionArgsDict']] marketplace_subscription: Equinix Fabric Entity for Marketplace Subscription :param pulumi.Input[str] name: Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores :param pulumi.Input[Sequence[pulumi.Input[Union['CloudRouterNotificationArgs', 'CloudRouterNotificationArgsDict']]]] notifications: Preferences for notifications on Fabric Cloud Router configuration or status changes :param pulumi.Input[Union['CloudRouterOrderArgs', 'CloudRouterOrderArgsDict']] order: Order information related to this Fabric Cloud Router @@ -755,6 +858,7 @@ def get(resource_name: str, __props__.__dict__["equinix_asn"] = equinix_asn __props__.__dict__["href"] = href __props__.__dict__["location"] = location + __props__.__dict__["marketplace_subscription"] = marketplace_subscription __props__.__dict__["name"] = name __props__.__dict__["notifications"] = notifications __props__.__dict__["order"] = order @@ -853,6 +957,14 @@ def location(self) -> pulumi.Output['outputs.CloudRouterLocation']: """ return pulumi.get(self, "location") + @property + @pulumi.getter(name="marketplaceSubscription") + def marketplace_subscription(self) -> pulumi.Output['outputs.CloudRouterMarketplaceSubscription']: + """ + Equinix Fabric Entity for Marketplace Subscription + """ + return pulumi.get(self, "marketplace_subscription") + @property @pulumi.getter def name(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_equinix/fabric/get_cloud_router.py b/sdk/python/pulumi_equinix/fabric/get_cloud_router.py index af7e9d70..5db9542f 100644 --- a/sdk/python/pulumi_equinix/fabric/get_cloud_router.py +++ b/sdk/python/pulumi_equinix/fabric/get_cloud_router.py @@ -22,7 +22,7 @@ class GetCloudRouterResult: """ A collection of values returned by getCloudRouter. """ - def __init__(__self__, accounts=None, bgp_ipv4_routes_count=None, bgp_ipv6_routes_count=None, change_logs=None, connections_count=None, description=None, distinct_ipv4_prefixes_count=None, distinct_ipv6_prefixes_count=None, equinix_asn=None, href=None, id=None, locations=None, name=None, notifications=None, orders=None, packages=None, projects=None, state=None, type=None, uuid=None): + def __init__(__self__, accounts=None, bgp_ipv4_routes_count=None, bgp_ipv6_routes_count=None, change_logs=None, connections_count=None, description=None, distinct_ipv4_prefixes_count=None, distinct_ipv6_prefixes_count=None, equinix_asn=None, href=None, id=None, locations=None, marketplace_subscriptions=None, name=None, notifications=None, orders=None, packages=None, projects=None, state=None, type=None, uuid=None): if accounts and not isinstance(accounts, list): raise TypeError("Expected argument 'accounts' to be a list") pulumi.set(__self__, "accounts", accounts) @@ -59,6 +59,9 @@ def __init__(__self__, accounts=None, bgp_ipv4_routes_count=None, bgp_ipv6_route if locations and not isinstance(locations, list): raise TypeError("Expected argument 'locations' to be a list") pulumi.set(__self__, "locations", locations) + if marketplace_subscriptions and not isinstance(marketplace_subscriptions, list): + raise TypeError("Expected argument 'marketplace_subscriptions' to be a list") + pulumi.set(__self__, "marketplace_subscriptions", marketplace_subscriptions) if name and not isinstance(name, str): raise TypeError("Expected argument 'name' to be a str") pulumi.set(__self__, "name", name) @@ -180,6 +183,14 @@ def locations(self) -> Sequence['outputs.GetCloudRouterLocationResult']: """ return pulumi.get(self, "locations") + @property + @pulumi.getter(name="marketplaceSubscriptions") + def marketplace_subscriptions(self) -> Sequence['outputs.GetCloudRouterMarketplaceSubscriptionResult']: + """ + Equinix Fabric Entity for Marketplace Subscription + """ + return pulumi.get(self, "marketplace_subscriptions") + @property @pulumi.getter def name(self) -> str: @@ -216,7 +227,7 @@ def packages(self) -> Sequence['outputs.GetCloudRouterPackageResult']: @pulumi.getter def projects(self) -> Sequence['outputs.GetCloudRouterProjectResult']: """ - 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 """ return pulumi.get(self, "projects") @@ -263,6 +274,7 @@ def __await__(self): href=self.href, id=self.id, locations=self.locations, + marketplace_subscriptions=self.marketplace_subscriptions, name=self.name, notifications=self.notifications, orders=self.orders, @@ -322,6 +334,7 @@ def get_cloud_router(uuid: Optional[str] = None, href=pulumi.get(__ret__, 'href'), id=pulumi.get(__ret__, 'id'), locations=pulumi.get(__ret__, 'locations'), + marketplace_subscriptions=pulumi.get(__ret__, 'marketplace_subscriptions'), name=pulumi.get(__ret__, 'name'), notifications=pulumi.get(__ret__, 'notifications'), orders=pulumi.get(__ret__, 'orders'), diff --git a/sdk/python/pulumi_equinix/fabric/get_connection.py b/sdk/python/pulumi_equinix/fabric/get_connection.py index 58d00a75..d38d9747 100644 --- a/sdk/python/pulumi_equinix/fabric/get_connection.py +++ b/sdk/python/pulumi_equinix/fabric/get_connection.py @@ -224,7 +224,7 @@ def state(self) -> str: @pulumi.getter def type(self) -> str: """ - 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 """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_equinix/fabric/get_marketplace_subscription.py b/sdk/python/pulumi_equinix/fabric/get_marketplace_subscription.py new file mode 100644 index 00000000..32d5e14a --- /dev/null +++ b/sdk/python/pulumi_equinix/fabric/get_marketplace_subscription.py @@ -0,0 +1,206 @@ +# coding=utf-8 +# *** 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! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetMarketplaceSubscriptionResult', + 'AwaitableGetMarketplaceSubscriptionResult', + 'get_marketplace_subscription', + 'get_marketplace_subscription_output', +] + +@pulumi.output_type +class GetMarketplaceSubscriptionResult: + """ + A collection of values returned by getMarketplaceSubscription. + """ + def __init__(__self__, entitlements=None, href=None, id=None, is_auto_renew=None, marketplace=None, offer_type=None, status=None, trial=None, uuid=None): + if entitlements and not isinstance(entitlements, list): + raise TypeError("Expected argument 'entitlements' to be a list") + pulumi.set(__self__, "entitlements", entitlements) + if href and not isinstance(href, str): + raise TypeError("Expected argument 'href' to be a str") + pulumi.set(__self__, "href", href) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_auto_renew and not isinstance(is_auto_renew, bool): + raise TypeError("Expected argument 'is_auto_renew' to be a bool") + pulumi.set(__self__, "is_auto_renew", is_auto_renew) + if marketplace and not isinstance(marketplace, str): + raise TypeError("Expected argument 'marketplace' to be a str") + pulumi.set(__self__, "marketplace", marketplace) + if offer_type and not isinstance(offer_type, str): + raise TypeError("Expected argument 'offer_type' to be a str") + pulumi.set(__self__, "offer_type", offer_type) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if trial and not isinstance(trial, dict): + raise TypeError("Expected argument 'trial' to be a dict") + pulumi.set(__self__, "trial", trial) + if uuid and not isinstance(uuid, str): + raise TypeError("Expected argument 'uuid' to be a str") + pulumi.set(__self__, "uuid", uuid) + + @property + @pulumi.getter + def entitlements(self) -> Sequence['outputs.GetMarketplaceSubscriptionEntitlementResult']: + """ + Subscription entitlements + """ + return pulumi.get(self, "entitlements") + + @property + @pulumi.getter + def href(self) -> str: + """ + Subscription URI information + """ + return pulumi.get(self, "href") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isAutoRenew") + def is_auto_renew(self) -> bool: + """ + Information about subscription auto renewal + """ + return pulumi.get(self, "is_auto_renew") + + @property + @pulumi.getter + def marketplace(self) -> str: + """ + Marketplace like; AWS, GCP, AZURE, REDHAT + """ + return pulumi.get(self, "marketplace") + + @property + @pulumi.getter(name="offerType") + def offer_type(self) -> str: + """ + Marketplace Offer Type like; PUBLIC, PRIVATE_OFFER + """ + return pulumi.get(self, "offer_type") + + @property + @pulumi.getter + def status(self) -> str: + """ + Subscription Status like; ACTIVE, EXPIRED, CANCELLED, GRACE_PERIOD + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def trial(self) -> 'outputs.GetMarketplaceSubscriptionTrialResult': + """ + Subscription Trial + """ + return pulumi.get(self, "trial") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Equinix-assigned marketplace identifier + """ + return pulumi.get(self, "uuid") + + +class AwaitableGetMarketplaceSubscriptionResult(GetMarketplaceSubscriptionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMarketplaceSubscriptionResult( + entitlements=self.entitlements, + href=self.href, + id=self.id, + is_auto_renew=self.is_auto_renew, + marketplace=self.marketplace, + offer_type=self.offer_type, + status=self.status, + trial=self.trial, + uuid=self.uuid) + + +def get_marketplace_subscription(uuid: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMarketplaceSubscriptionResult: + """ + Fabric V4 API compatible data resource that allow user to fetch Marketplace Subscription detail for a given UUID + + ## Example Usage + + ```python + import pulumi + import pulumi_equinix as equinix + + subscription_test = equinix.fabric.get_marketplace_subscription(uuid="") + pulumi.export("id", subscription_test.id) + pulumi.export("status", subscription_test.status) + pulumi.export("marketplace", subscription_test.marketplace) + pulumi.export("offerType", subscription_test.offer_type) + pulumi.export("isAutoRenew", subscription_test.is_auto_renew) + ``` + + + :param str uuid: Equinix-assigned marketplace identifier + """ + __args__ = dict() + __args__['uuid'] = uuid + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('equinix:fabric/getMarketplaceSubscription:getMarketplaceSubscription', __args__, opts=opts, typ=GetMarketplaceSubscriptionResult).value + + return AwaitableGetMarketplaceSubscriptionResult( + entitlements=pulumi.get(__ret__, 'entitlements'), + href=pulumi.get(__ret__, 'href'), + id=pulumi.get(__ret__, 'id'), + is_auto_renew=pulumi.get(__ret__, 'is_auto_renew'), + marketplace=pulumi.get(__ret__, 'marketplace'), + offer_type=pulumi.get(__ret__, 'offer_type'), + status=pulumi.get(__ret__, 'status'), + trial=pulumi.get(__ret__, 'trial'), + uuid=pulumi.get(__ret__, 'uuid')) + + +@_utilities.lift_output_func(get_marketplace_subscription) +def get_marketplace_subscription_output(uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMarketplaceSubscriptionResult]: + """ + Fabric V4 API compatible data resource that allow user to fetch Marketplace Subscription detail for a given UUID + + ## Example Usage + + ```python + import pulumi + import pulumi_equinix as equinix + + subscription_test = equinix.fabric.get_marketplace_subscription(uuid="") + pulumi.export("id", subscription_test.id) + pulumi.export("status", subscription_test.status) + pulumi.export("marketplace", subscription_test.marketplace) + pulumi.export("offerType", subscription_test.offer_type) + pulumi.export("isAutoRenew", subscription_test.is_auto_renew) + ``` + + + :param str uuid: Equinix-assigned marketplace identifier + """ + ... diff --git a/sdk/python/pulumi_equinix/fabric/get_service_profile.py b/sdk/python/pulumi_equinix/fabric/get_service_profile.py index 9b7bdb2a..eeae4fe9 100644 --- a/sdk/python/pulumi_equinix/fabric/get_service_profile.py +++ b/sdk/python/pulumi_equinix/fabric/get_service_profile.py @@ -206,7 +206,7 @@ def project(self) -> 'outputs.GetServiceProfileProjectResult': @pulumi.getter(name="selfProfile") def self_profile(self) -> bool: """ - 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 """ return pulumi.get(self, "self_profile") @@ -230,7 +230,7 @@ def tags(self) -> Sequence[str]: @pulumi.getter def type(self) -> str: """ - Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE """ return pulumi.get(self, "type") @@ -245,6 +245,9 @@ def uuid(self) -> str: @property @pulumi.getter(name="viewPoint") def view_point(self) -> str: + """ + Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide + """ return pulumi.get(self, "view_point") @property diff --git a/sdk/python/pulumi_equinix/fabric/outputs.py b/sdk/python/pulumi_equinix/fabric/outputs.py index 51b6ebb4..d2b31abb 100644 --- a/sdk/python/pulumi_equinix/fabric/outputs.py +++ b/sdk/python/pulumi_equinix/fabric/outputs.py @@ -16,6 +16,7 @@ 'CloudRouterAccount', 'CloudRouterChangeLog', 'CloudRouterLocation', + 'CloudRouterMarketplaceSubscription', 'CloudRouterNotification', 'CloudRouterOrder', 'CloudRouterPackage', @@ -96,6 +97,7 @@ 'GetCloudRouterAccountResult', 'GetCloudRouterChangeLogResult', 'GetCloudRouterLocationResult', + 'GetCloudRouterMarketplaceSubscriptionResult', 'GetCloudRouterNotificationResult', 'GetCloudRouterOrderResult', 'GetCloudRouterPackageResult', @@ -104,6 +106,7 @@ 'GetCloudRoutersDataAccountResult', 'GetCloudRoutersDataChangeLogResult', 'GetCloudRoutersDataLocationResult', + 'GetCloudRoutersDataMarketplaceSubscriptionResult', 'GetCloudRoutersDataNotificationResult', 'GetCloudRoutersDataOrderResult', 'GetCloudRoutersDataPackageResult', @@ -197,6 +200,10 @@ 'GetConnectionsFilterResult', 'GetConnectionsPaginationResult', 'GetConnectionsSortResult', + 'GetMarketplaceSubscriptionEntitlementResult', + 'GetMarketplaceSubscriptionEntitlementAssetResult', + 'GetMarketplaceSubscriptionEntitlementAssetPackageResult', + 'GetMarketplaceSubscriptionTrialResult', 'GetNetworkChangeResult', 'GetNetworkChangeLogResult', 'GetNetworkLocationResult', @@ -299,16 +306,15 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - account_number: Optional[int] = None): + account_number: int): """ :param int account_number: Account Number """ - if account_number is not None: - pulumi.set(__self__, "account_number", account_number) + pulumi.set(__self__, "account_number", account_number) @property @pulumi.getter(name="accountNumber") - def account_number(self) -> Optional[int]: + def account_number(self) -> int: """ Account Number """ @@ -579,6 +585,36 @@ def region(self) -> Optional[str]: return pulumi.get(self, "region") +@pulumi.output_type +class CloudRouterMarketplaceSubscription(dict): + def __init__(__self__, *, + uuid: str, + type: Optional[str] = None): + """ + :param str uuid: Equinix-assigned Marketplace Subscription identifier + :param str type: Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + """ + pulumi.set(__self__, "uuid", uuid) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Equinix-assigned Marketplace Subscription identifier + """ + return pulumi.get(self, "uuid") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + Marketplace Subscription type like; AWS*MARKETPLACE*SUBSCRIPTION + """ + return pulumi.get(self, "type") + + @pulumi.output_type class CloudRouterNotification(dict): @staticmethod @@ -6394,6 +6430,35 @@ def region(self) -> str: return pulumi.get(self, "region") +@pulumi.output_type +class GetCloudRouterMarketplaceSubscriptionResult(dict): + def __init__(__self__, *, + type: str, + uuid: str): + """ + :param str type: Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + :param str uuid: Equinix-assigned Marketplace Subscription identifier + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) + + @property + @pulumi.getter + def type(self) -> str: + """ + Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Equinix-assigned Marketplace Subscription identifier + """ + return pulumi.get(self, "uuid") + + @pulumi.output_type class GetCloudRouterNotificationResult(dict): def __init__(__self__, *, @@ -6547,6 +6612,7 @@ def __init__(__self__, *, equinix_asn: int, href: str, locations: Sequence['outputs.GetCloudRoutersDataLocationResult'], + marketplace_subscriptions: Sequence['outputs.GetCloudRoutersDataMarketplaceSubscriptionResult'], name: str, notifications: Sequence['outputs.GetCloudRoutersDataNotificationResult'], orders: Sequence['outputs.GetCloudRoutersDataOrderResult'], @@ -6567,6 +6633,7 @@ def __init__(__self__, *, :param int equinix_asn: Equinix ASN :param str href: Fabric Cloud Router URI information :param Sequence['GetCloudRoutersDataLocationArgs'] locations: Fabric Cloud Router location + :param Sequence['GetCloudRoutersDataMarketplaceSubscriptionArgs'] marketplace_subscriptions: Equinix Fabric Entity for Marketplace Subscription :param str name: Fabric Cloud Router name. An alpha-numeric 24 characters string which can include only hyphens and underscores :param Sequence['GetCloudRoutersDataNotificationArgs'] notifications: Preferences for notifications on Fabric Cloud Router configuration or status changes :param Sequence['GetCloudRoutersDataOrderArgs'] orders: Order information related to this Fabric Cloud Router @@ -6587,6 +6654,7 @@ def __init__(__self__, *, pulumi.set(__self__, "equinix_asn", equinix_asn) pulumi.set(__self__, "href", href) pulumi.set(__self__, "locations", locations) + pulumi.set(__self__, "marketplace_subscriptions", marketplace_subscriptions) pulumi.set(__self__, "name", name) pulumi.set(__self__, "notifications", notifications) pulumi.set(__self__, "orders", orders) @@ -6684,6 +6752,14 @@ def locations(self) -> Sequence['outputs.GetCloudRoutersDataLocationResult']: """ return pulumi.get(self, "locations") + @property + @pulumi.getter(name="marketplaceSubscriptions") + def marketplace_subscriptions(self) -> Sequence['outputs.GetCloudRoutersDataMarketplaceSubscriptionResult']: + """ + Equinix Fabric Entity for Marketplace Subscription + """ + return pulumi.get(self, "marketplace_subscriptions") + @property @pulumi.getter def name(self) -> str: @@ -6957,6 +7033,35 @@ def region(self) -> str: return pulumi.get(self, "region") +@pulumi.output_type +class GetCloudRoutersDataMarketplaceSubscriptionResult(dict): + def __init__(__self__, *, + type: str, + uuid: str): + """ + :param str type: Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + :param str uuid: Equinix-assigned Marketplace Subscription identifier + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) + + @property + @pulumi.getter + def type(self) -> str: + """ + Marketplace Subscription type like; AWS_MARKETPLACE_SUBSCRIPTION + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Equinix-assigned Marketplace Subscription identifier + """ + return pulumi.get(self, "uuid") + + @pulumi.output_type class GetCloudRoutersDataNotificationResult(dict): def __init__(__self__, *, @@ -7908,8 +8013,8 @@ def __init__(__self__, *, type: str, uuid: str): """ - :param str type: Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC - :param str uuid: Equinix-assigned connection identifier + :param str type: Type of access point type config - VD, COLO + :param str uuid: Equinix-assigned access point type config identifier """ pulumi.set(__self__, "type", type) pulumi.set(__self__, "uuid", uuid) @@ -7918,7 +8023,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> str: """ - Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + Type of access point type config - VD, COLO """ return pulumi.get(self, "type") @@ -7926,7 +8031,7 @@ def type(self) -> str: @pulumi.getter def uuid(self) -> str: """ - Equinix-assigned connection identifier + Equinix-assigned access point type config identifier """ return pulumi.get(self, "uuid") @@ -9323,8 +9428,8 @@ def __init__(__self__, *, type: str, uuid: str): """ - :param str type: Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC - :param str uuid: Equinix-assigned connection identifier + :param str type: Type of access point type config - VD, COLO + :param str uuid: Equinix-assigned access point type config identifier """ pulumi.set(__self__, "type", type) pulumi.set(__self__, "uuid", uuid) @@ -9333,7 +9438,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> str: """ - Defines the connection type like EVPL*VC, EPL*VC, IPWAN*VC, IP*VC, ACCESS*EPL*VC, EVPLAN*VC, EPLAN*VC, EIA*VC, EC*VC + Type of access point type config - VD, COLO """ return pulumi.get(self, "type") @@ -9341,7 +9446,7 @@ def type(self) -> str: @pulumi.getter def uuid(self) -> str: """ - Equinix-assigned connection identifier + Equinix-assigned access point type config identifier """ return pulumi.get(self, "uuid") @@ -10090,7 +10195,7 @@ def __init__(__self__, *, type: Optional[str] = None, uuid: Optional[str] = None): """ - :param int id: The ID of this resource. + :param int id: id :param str type: Interface type :param str uuid: Equinix-assigned interface identifier """ @@ -10104,7 +10209,7 @@ def __init__(__self__, *, @pulumi.getter def id(self) -> int: """ - The ID of this resource. + id """ return pulumi.get(self, "id") @@ -11505,7 +11610,7 @@ def __init__(__self__, *, type: Optional[str] = None, uuid: Optional[str] = None): """ - :param int id: The ID of this resource. + :param int id: id :param str type: Interface type :param str uuid: Equinix-assigned interface identifier """ @@ -11519,7 +11624,7 @@ def __init__(__self__, *, @pulumi.getter def id(self) -> int: """ - The ID of this resource. + id """ return pulumi.get(self, "id") @@ -12043,7 +12148,7 @@ def __init__(__self__, *, group: Optional[str] = None): """ :param str operator: Operators to use on your filtered field with the values given. One of [ =, !=, >, >=, <, <=, BETWEEN, NOT BETWEEN, LIKE, NOT LIKE, IN, NOT IN, IS NOT NULL, IS NULL] - :param str property: Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + :param str property: Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] :param Sequence[str] values: The values that you want to apply the property+operator combination to in order to filter your data search :param str group: Optional custom id parameter to assign this filter to an inner AND or OR group. Group id must be prefixed with AND_ or OR_. Ensure intended grouped elements have the same given id. Ungrouped filters will be placed in the filter list group by themselves. """ @@ -12081,7 +12186,7 @@ def group(self) -> Optional[str]: @pulumi.getter def property(self) -> str: """ - Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid *] + Possible field names to use on filters. One of [/isRemote /name /uuid /type /geoScope /account/orgId /aSide/accessPoint/account/accountName /aSide/accessPoint/account/accountNumber /aSide/accessPoint/router/uuid /aSide/accessPoint/linkProtocol/vlanCTag /aSide/accessPoint/linkProtocol/vlanSTag /aSide/accessPoint/linkProtocol/vlanTagMin /aSide/accessPoint/linkProtocol/vlanTagMax /aSide/accessPoint/location/metroCode /aSide/accessPoint/location/metroName /aSide/accessPoint/name /aSide/accessPoint/port/uuid /aSide/accessPoint/port/name /aSide/accessPoint/type /aSide/accessPoint/virtualDevice/name /aSide/accessPoint/virtualDevice/uuid /aSide/serviceToken/uuid /change/status /operation/equinixStatus /operation/providerStatus /project/projectId /redundancy/group /redundancy/priority /zSide/accessPoint/account/accountName /zSide/accessPoint/authenticationKey /zSide/accessPoint/linkProtocol/vlanCTag /zSide/accessPoint/linkProtocol/vlanSTag /zSide/accessPoint/linkProtocol/vlanTagMin /zSide/accessPoint/linkProtocol/vlanTagMax /zSide/accessPoint/location/metroCode /zSide/accessPoint/location/metroName /zSide/accessPoint/name /zSide/accessPoint/port/uuid /zSide/accessPoint/network/uuid /zSide/accessPoint/port/name /zSide/accessPoint/profile/uuid /zSide/accessPoint/type /zSide/accessPoint/virtualDevice/name /zSide/accessPoint/virtualDevice/uuid /zSide/serviceToken/uuid /zSide/internetAccess/uuid *] """ return pulumi.get(self, "property") @@ -12148,6 +12253,133 @@ def property(self) -> Optional[str]: return pulumi.get(self, "property") +@pulumi.output_type +class GetMarketplaceSubscriptionEntitlementResult(dict): + def __init__(__self__, *, + assets: Sequence['outputs.GetMarketplaceSubscriptionEntitlementAssetResult'], + quantity_available: int, + quantity_consumed: int, + quantity_entitled: int, + uuid: str): + """ + :param Sequence['GetMarketplaceSubscriptionEntitlementAssetArgs'] assets: Asset information + :param int quantity_available: Available Quantity + :param int quantity_consumed: Consumed Quantity + :param int quantity_entitled: Entitled Quantity + :param str uuid: Subscription Entitlement Id + """ + pulumi.set(__self__, "assets", assets) + pulumi.set(__self__, "quantity_available", quantity_available) + pulumi.set(__self__, "quantity_consumed", quantity_consumed) + pulumi.set(__self__, "quantity_entitled", quantity_entitled) + pulumi.set(__self__, "uuid", uuid) + + @property + @pulumi.getter + def assets(self) -> Sequence['outputs.GetMarketplaceSubscriptionEntitlementAssetResult']: + """ + Asset information + """ + return pulumi.get(self, "assets") + + @property + @pulumi.getter(name="quantityAvailable") + def quantity_available(self) -> int: + """ + Available Quantity + """ + return pulumi.get(self, "quantity_available") + + @property + @pulumi.getter(name="quantityConsumed") + def quantity_consumed(self) -> int: + """ + Consumed Quantity + """ + return pulumi.get(self, "quantity_consumed") + + @property + @pulumi.getter(name="quantityEntitled") + def quantity_entitled(self) -> int: + """ + Entitled Quantity + """ + return pulumi.get(self, "quantity_entitled") + + @property + @pulumi.getter + def uuid(self) -> str: + """ + Subscription Entitlement Id + """ + return pulumi.get(self, "uuid") + + +@pulumi.output_type +class GetMarketplaceSubscriptionEntitlementAssetResult(dict): + def __init__(__self__, *, + packages: Sequence['outputs.GetMarketplaceSubscriptionEntitlementAssetPackageResult'], + type: str): + """ + :param Sequence['GetMarketplaceSubscriptionEntitlementAssetPackageArgs'] packages: Fabric Cloud Router Package Type + :param str type: Defines the FCR type like; XF_ROUTER + """ + pulumi.set(__self__, "packages", packages) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def packages(self) -> Sequence['outputs.GetMarketplaceSubscriptionEntitlementAssetPackageResult']: + """ + Fabric Cloud Router Package Type + """ + return pulumi.get(self, "packages") + + @property + @pulumi.getter + def type(self) -> str: + """ + Defines the FCR type like; XF_ROUTER + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetMarketplaceSubscriptionEntitlementAssetPackageResult(dict): + def __init__(__self__, *, + code: str): + """ + :param str code: Cloud Router package code + """ + pulumi.set(__self__, "code", code) + + @property + @pulumi.getter + def code(self) -> str: + """ + Cloud Router package code + """ + return pulumi.get(self, "code") + + +@pulumi.output_type +class GetMarketplaceSubscriptionTrialResult(dict): + def __init__(__self__, *, + enabled: bool): + """ + :param bool enabled: Marketplace Subscription Trial Enabled + """ + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> bool: + """ + Marketplace Subscription Trial Enabled + """ + return pulumi.get(self, "enabled") + + @pulumi.output_type class GetNetworkChangeResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_equinix/fabric/service_profile.py b/sdk/python/pulumi_equinix/fabric/service_profile.py index f9a2d563..4ac353e0 100644 --- a/sdk/python/pulumi_equinix/fabric/service_profile.py +++ b/sdk/python/pulumi_equinix/fabric/service_profile.py @@ -37,7 +37,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a ServiceProfile resource. :param pulumi.Input[str] description: User-provided service description - :param pulumi.Input[Union[str, 'ProfileType']] type: Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + :param pulumi.Input[Union[str, 'ProfileType']] type: Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileAccessPointTypeConfigArgs']]] access_point_type_configs: Access point config information :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_emails: Array of contact emails :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileCustomFieldArgs']]] custom_fields: Custom Fields @@ -47,7 +47,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileNotificationArgs']]] notifications: Preferences for notifications on connection configuration or status changes :param pulumi.Input[Sequence[pulumi.Input['ServiceProfilePortArgs']]] ports: Ports :param pulumi.Input['ServiceProfileProjectArgs'] project: Project information - :param pulumi.Input[bool] self_profile: Self Profile indicating if the profile is created for customer's self use + :param pulumi.Input[bool] self_profile: Self Profile indicating if the profile is created for customer's self use :param pulumi.Input[Union[str, 'ProfileState']] state: Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags attached to the connection :param pulumi.Input[str] view_point: Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide @@ -103,7 +103,7 @@ def description(self, value: pulumi.Input[str]): @pulumi.getter def type(self) -> pulumi.Input[Union[str, 'ProfileType']]: """ - Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE """ return pulumi.get(self, "type") @@ -223,7 +223,7 @@ def project(self, value: Optional[pulumi.Input['ServiceProfileProjectArgs']]): @pulumi.getter(name="selfProfile") def self_profile(self) -> Optional[pulumi.Input[bool]]: """ - 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 """ return pulumi.get(self, "self_profile") @@ -331,10 +331,10 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileNotificationArgs']]] notifications: Preferences for notifications on connection configuration or status changes :param pulumi.Input[Sequence[pulumi.Input['ServiceProfilePortArgs']]] ports: Ports :param pulumi.Input['ServiceProfileProjectArgs'] project: Project information - :param pulumi.Input[bool] self_profile: Self Profile indicating if the profile is created for customer's self use + :param pulumi.Input[bool] self_profile: Self Profile indicating if the profile is created for customer's self use :param pulumi.Input[Union[str, 'ProfileState']] state: Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags attached to the connection - :param pulumi.Input[Union[str, 'ProfileType']] type: Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + :param pulumi.Input[Union[str, 'ProfileType']] type: Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE :param pulumi.Input[str] uuid: Equinix assigned service profile identifier :param pulumi.Input[str] view_point: Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide :param pulumi.Input[Sequence[pulumi.Input['ServiceProfileVirtualDeviceArgs']]] virtual_devices: Virtual Devices @@ -543,7 +543,7 @@ def project(self, value: Optional[pulumi.Input['ServiceProfileProjectArgs']]): @pulumi.getter(name="selfProfile") def self_profile(self) -> Optional[pulumi.Input[bool]]: """ - 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 """ return pulumi.get(self, "self_profile") @@ -579,7 +579,7 @@ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.getter def type(self) -> Optional[pulumi.Input[Union[str, 'ProfileType']]]: """ - Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE """ return pulumi.get(self, "type") @@ -715,10 +715,10 @@ def __init__(__self__, :param pulumi.Input[Sequence[pulumi.Input[Union['ServiceProfileNotificationArgs', 'ServiceProfileNotificationArgsDict']]]] notifications: Preferences for notifications on connection configuration or status changes :param pulumi.Input[Sequence[pulumi.Input[Union['ServiceProfilePortArgs', 'ServiceProfilePortArgsDict']]]] ports: Ports :param pulumi.Input[Union['ServiceProfileProjectArgs', 'ServiceProfileProjectArgsDict']] project: Project information - :param pulumi.Input[bool] self_profile: Self Profile indicating if the profile is created for customer's self use + :param pulumi.Input[bool] self_profile: Self Profile indicating if the profile is created for customer's self use :param pulumi.Input[Union[str, 'ProfileState']] state: Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags attached to the connection - :param pulumi.Input[Union[str, 'ProfileType']] type: Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + :param pulumi.Input[Union[str, 'ProfileType']] type: Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE :param pulumi.Input[str] view_point: Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide :param pulumi.Input[Sequence[pulumi.Input[Union['ServiceProfileVirtualDeviceArgs', 'ServiceProfileVirtualDeviceArgsDict']]]] virtual_devices: Virtual Devices :param pulumi.Input[Union[str, 'ProfileVisibility']] visibility: Service profile visibility - PUBLIC, PRIVATE @@ -890,10 +890,10 @@ def get(resource_name: str, :param pulumi.Input[Sequence[pulumi.Input[Union['ServiceProfileNotificationArgs', 'ServiceProfileNotificationArgsDict']]]] notifications: Preferences for notifications on connection configuration or status changes :param pulumi.Input[Sequence[pulumi.Input[Union['ServiceProfilePortArgs', 'ServiceProfilePortArgsDict']]]] ports: Ports :param pulumi.Input[Union['ServiceProfileProjectArgs', 'ServiceProfileProjectArgsDict']] project: Project information - :param pulumi.Input[bool] self_profile: Self Profile indicating if the profile is created for customer's self use + :param pulumi.Input[bool] self_profile: Self Profile indicating if the profile is created for customer's self use :param pulumi.Input[Union[str, 'ProfileState']] state: Service profile state - ACTIVE, PENDING_APPROVAL, DELETED, REJECTED :param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Tags attached to the connection - :param pulumi.Input[Union[str, 'ProfileType']] type: Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + :param pulumi.Input[Union[str, 'ProfileType']] type: Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE :param pulumi.Input[str] uuid: Equinix assigned service profile identifier :param pulumi.Input[str] view_point: Flips view between buyer and seller representation. Available values : aSide, zSide. Default value : aSide :param pulumi.Input[Sequence[pulumi.Input[Union['ServiceProfileVirtualDeviceArgs', 'ServiceProfileVirtualDeviceArgsDict']]]] virtual_devices: Virtual Devices @@ -1034,7 +1034,7 @@ def project(self) -> pulumi.Output[Optional['outputs.ServiceProfileProject']]: @pulumi.getter(name="selfProfile") def self_profile(self) -> pulumi.Output[Optional[bool]]: """ - 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 """ return pulumi.get(self, "self_profile") @@ -1058,7 +1058,7 @@ def tags(self) -> pulumi.Output[Optional[Sequence[str]]]: @pulumi.getter def type(self) -> pulumi.Output[str]: """ - Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE + Service profile type - L2*PROFILE, L3*PROFILE, ECIA*PROFILE, ECMC*PROFILE, IA_PROFILE """ return pulumi.get(self, "type")